Jump to content


Jax

Member Since 22 Mar 2006
Offline Last Active Jul 11 2012 06:18 AM

Posts I've Made

In Topic: Combining solid instances into 1

14 December 2011 - 05:07 PM

Very cool example! I altered it to check for a variable called static, and if it was false (dynamic) it wouldn't combine it. The only serious problem is that you have to create such a big surface, but if you had a huge room you could make it combine everything in a 512x512 area. Later you could even deactivate segments of the room if you are away to yield even more performance enhancements.
-Rock on! :skull:

~Jax

In Topic: speed up game?

21 June 2011 - 06:08 AM

That code will work with some modifications.

instance_deactivate_object(/*Replace this with a stationary object*/);
instance_deactivate_object(/*Replace this with another stationary object*/);
... repeat that for all objects of the like

Then after that
instance_activate_region(view_xview[0],view_yview[0],view_wview[0],view_hview[0],true);//This if for view 1
instance_activate_region(view_xview[1],view_yview[1],view_wview[1],view_hview[1],true);//This if for view 2
... repeat that but changing the number for all views
-Rock on! :skull:

~Jax

In Topic: IPCSM

22 January 2011 - 05:34 AM

Awesome DLL! Very fast too. This one will keep me entertained for a while. I made a test which on the server you move a ball, and the client does it in sync. :) I only have a few questions. The init script's second argument is the buffer size, but what is it measured in; Bytes? Kilobytes? Also what is the offset parameter in the read and write scripts? I have tried to experiment around with it but I can't figure out what it does or how to use it.
Thanks
-Rock on! :skull:

~Jax

In Topic: SDL Joysticks - More than 2 Joysticks!

22 January 2011 - 05:25 AM

Hey, great DLL! :) The only thing you should have done is put the commands in scripts, so you would call a script like a function and it would call the external_call. That would make it a lot easier and prettier. I really appreciate the source, I have learned a lot of C++ and SDL and have the basics down-pat, so this is really cool. I wasn't sure how, but now I can learn from you and tie back my knowledge and move further into C++. I'm thinking that a DLL that would let you create another window and draw to it would be cool, you could have a debug cheat that could show the map and other things. Maybe I could use GMAPI and allow you to draw a sprite as easily as you could with GM alone. What do you think? Thanks a bunch btw!
-Rock on! :skull:

~Jax

In Topic: Two (seemingly) identical objects behave different

26 September 2010 - 04:16 PM

Here is some good info on the object order, and it also has some event order too if you're interested. :) http://gmc.yoyogames...howtopic=337904
Hmm... there is still some differences, I'll look into it some more.
-Rock on! :skull:

~Jax