Search found 1178 matches
- Wed Jan 22, 2014 2:12 pm
- Forum: General programming
- Topic: Event handler and idle time
- Replies: 4
- Views: 5837
Re: Event handler and idle time
I have to say, that would be good idea. This isnt simple solution, but basically you could use what i use to halt the program a bit from running too fast. For thing is, when you make a game, and you make the movement based upon how much time have passed, it can happen with faster machines, that sinc...
- Mon Jan 20, 2014 2:37 pm
- Forum: General programming
- Topic: Event handler and idle time
- Replies: 4
- Views: 5837
Re: Event handler and idle time
Yes. This is part from one of the Hollytwood examples: SetInterval(1, p_Update, 1000\60) ; main loop Repeat WaitEvent Forever Idea with this is that you are using Waitevent as the mainloop. Then all the functions you wish to be exewcuted during that, you will use SetInterval() First number is ID num...
- Wed Nov 20, 2013 9:32 pm
- Forum: General programming
- Topic: an immersive internet game with love?
- Replies: 6
- Views: 7006
Re: an immersive internet game with love?
I believe it is posible to do at least some sort of streaming with hollywood, but I dont actually even know how those normal streamings work. What I am thinking is that you screengrab the picture one way or other, and then you send it to server, from which each client downloads it. Repeat this as fa...
- Sat Sep 07, 2013 11:46 am
- Forum: Hollywood bugs
- Topic: Possibly some bug in 64-bit win 7.
- Replies: 6
- Views: 6567
Re: Possibly some bug in 64-bit win 7.
I knew this was very vague bug report, especially since there is not much idea what the cause of the bug is, and no handy way to find it out. But I anyway thought I report about it in case there comes more bug reports like this. For after all, it was only those two people, both with 64-bit win7, tha...
- Tue Sep 03, 2013 8:27 pm
- Forum: Newbie questions
- Topic: making a easy move sprite/brush routine
- Replies: 4
- Views: 5676
Re: making a easy move sprite/brush routine
Okay, sounds fun. And seems then you just take mousex() and mouse(y) and display mallet brush on those coordinates as i explained there. But to add one thing you might want to do is to turn mouse pointer off by using: hidepointer(), and naturally ShowPointer() to show it again. Anotehr possiblity is...
- Sun Sep 01, 2013 9:35 pm
- Forum: Newbie questions
- Topic: making a easy move sprite/brush routine
- Replies: 4
- Views: 5676
Re: making a easy move sprite/brush routine
Not entirely sure what you were after, but here are couple of codes from head, which means that i might remember some commands bit wrong. First brush that moves with mouse pointer: loadbrush 1, "filename.png" begindoublebuffer repeat x = mousex() y = mousey() displaybrush(1, x, y) flip CLS...
- Sun Sep 01, 2013 5:42 pm
- Forum: Hollywood bugs
- Topic: Possibly some bug in 64-bit win 7.
- Replies: 6
- Views: 6567
Re: Possibly some bug in 64-bit win 7.
That sound problem I think is not so much a big than a machine limit and Anrea giving too much control to users. I beleive that sound issue is that everytime you play a sample, if previous one(s) are not played till end yet, it will try to allocate another channel for the next sample to avoid interr...
- Sun Sep 01, 2013 12:04 pm
- Forum: Hollywood bugs
- Topic: Possibly some bug in 64-bit win 7.
- Replies: 6
- Views: 6567
Possibly some bug in 64-bit win 7.
This is very vagues bug report since i have nothing concrete to give. But I made this half a game for Christian Developers Speedgame competition, and from two random people i asked, they both reproted having 64-bit windows 7 and game not working on their machine. However, when second guy mentioned m...
- Thu Aug 08, 2013 3:44 pm
- Forum: Hollywood bugs
- Topic: list[item].status, changes every items status?
- Replies: 2
- Views: 4210
Re: list[item].status, changes every items status?
I found the problem. Have to say, hardest bug to fid so far I have got in my code. Problem was that I didnt take into consideration that everytime you put something normally to a table, it is actually a reference instead of independent copy. In my code my code, i was handling rarity of random appear...
- Wed Aug 07, 2013 11:05 pm
- Forum: Hollywood bugs
- Topic: list[item].status, changes every items status?
- Replies: 2
- Views: 4210
list[item].status, changes every items status?
I have isolated my programs problem to here: DebugPrint("status1 :"..wave.enemytable[1].status) p_InitializeEnemy(wave.enemytable[0]) DebugPrint("status2 : "..wave.enemytable[1].status) Function p_InitializeEnemy(enemy) enemy.status=1 EndFunction When program gets to first debupr...