Re: Help with choosing between Python VS. PureBasic
Python is fun. For pyglet, you need to install avbin and package it somehow. I believe frastlin was messing with packaging the dll, so if he would post here that'd be great.
Pyglet basically works like this. You have your loop, that runs the game for you. Bgt gives you things like this.
When you press enter, wait 5 seconds then open the game.
Pyglet is like this.
On every repeating of the loop (which you set as 1 second a loop), make a variable that is added to by 1 till it is 5. As you know the loop is 1 ittiration (repeat) one second, and you add 1 to the variable in every ittiration, logically when the counter (variable) is 5, the loop has executed 5 times. So. Check every loop ittiration if the counter is 5, if not, counter+=1. When the counter is 5 (5 seconds have passed), execute the code.
This could be slitely complicated than bgt, but it gives you a lot of flexibility later on.
If you need any more help, just post in here-me, and other py
thon users will be happy to help.
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector