Recent

Author Topic: what should i do now ?  (Read 4047 times)

lighttttt

  • Newbie
  • Posts: 1
what should i do now ?
« on: December 20, 2015, 03:51:53 am »
hello forum,
im a beginner, i started learning pascal a month ago,
i've learned few things i saw on youtube, but i stae hrted to feel lost,
so here is exactly what i need to learn so it seems clear for you to help (i hope),

i wanna learn the basics( ive coverd var decalaration / some maths using them / if else then / loops like while for repeat / creating game that asks the user to try to win a lucky number game where i radomise a shart and creat a winning list of numbers/ how to create a procedure like quit..),

as you see i'm jumping around, and i want to have a guide,( i live in a far place where there is no accadamic teaching about programing) , so i hope that you can give me some title to search for ,


plus i liked some functions that are pre-made like val (that convert a string into an integer ), where can i found more example about that ?


the second thing is my ultimate goal is to build a game, and i wanna do that before the summer, so is there anyway to achieve that goal ? and by any steps ?

thank you, and im sorry for my terrible english x)

cdbc

  • Hero Member
  • *****
  • Posts: 2685
    • http://www.cdbc.dk
Re: what should i do now ?
« Reply #1 on: December 20, 2015, 06:17:13 am »
Hi
Have look around here: http://www.marcocantu.com/
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main


Handoko

  • Hero Member
  • *****
  • Posts: 5524
  • My goal: build my own game engine using Lazarus
Re: what should i do now ?
« Reply #3 on: December 20, 2015, 11:15:17 am »
Hello lighttttt,
Welcome to this wonderful world of programming.

To become a good programmer, you need time and lots of hard works. It is good you've already set your target, but the time you set is too short.

Game programming is a very complex subject to learn. It covers vast topics like artificial intelligent, graphics controls, collision detection and physics, performance optimization, etc. And it is a plus if you're good in graphics design and storytelling.

If you just simply want to create games, I will suggest you to try some free and easy to use game builders like:

http://www.zgameeditor.org/
http://compilgames.net/
http://game-editor.com/
https://godotengine.org/

Usually, most people (with some basic programming skills) can create very simple games just in hours first time using the software mentioned above. It is the easiest and affordable way to become a game developer.

But if you have enough money in your wallet, you should try the commercial software, which are usually better than the free ones. Here are some easy to learn commercial game builders:

https://unity2d.com
https://www.scirra.com/
http://www.rpgmakerweb.com/
http://www.yoyogames.com/

But if you still want to try the hard way, well ... you really need to have patient, time and hard works. Do you have all them? If your answers is "no", then you can stop here and no need to continue this reading.

1. Improve your Pascal knowledge

Some good tutorials to start with:

http://www.pascal-programming.info/index.php
http://wiki.freepascal.org/Object_Pascal_Tutorial
http://wiki.freepascal.org/Lazarus_videos

This guides and references are worth to be bookmarked:

http://www.freepascal.org/docs.var

2. Read a lot about game programming topics

http://nehe.gamedev.net/
http://www.pascalgamedevelopment.com/
http://www.gamedev.net/
http://forums.indiegamer.com/
http://forum.freegamedev.net/

3. Understand how to use OpenGL and DirectX

You aren't a game programmer if you don't know how to use OpenGL and/or DirectX. So, search the web and study them.

4. Learn how to use graphics libraries/engines

Lazarus/FPC default components are not optimized for graphics performance, they're not suitable for building games. Unless, you are planning to write your own graphics engine like what I'm doing, you really should pick one from these below:

http://wiki.freepascal.org/ZenGL
http://wiki.freepascal.org/BGRABitmap
http://wiki.freepascal.org/LazRGBGraphics
http://wiki.freepascal.org/FPC_and_SDL
http://www.crossgl.com/aggpas/
http://castle-engine.sourceforge.net/
http://allegro-pas.sourceforge.net/

5. Consider to use a game engine

You don't have to reinvent the wheel. If you've already have good basic programming and graphics programming skills, you now may consider to pick a game engine. Choose one and dig deep into it:

http://wiki.freepascal.org/Game_Engine

6. Improve your graphics design skill

Unless you have money to pay someone to do the graphics for you, you have to learn some graphics skill no matter you like it or not.

Some useful tools for graphics creation:

https://www.gimp.org/
https://inkscape.org/en/
https://www.blender.org/
http://mypaint.org/

7. Congratulation!

If you really follow the steps through here seriously, without doubt: congratulation, you now should already written some good games.

-----
July 21, 2015 - Added: Godot Engine, SDL, Allegro.Pas
« Last Edit: July 20, 2016, 08:11:15 pm by Handoko »

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1222
    • Burdjia
Re: what should i do now ?
« Reply #4 on: December 28, 2015, 11:58:55 am »
Also, you have Allegro.pas, that allows you to use the Allegro Game Library with Pascal.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

 

TinyPortal © 2005-2018