sinofnature's Forum Posts

  • 6 posts
  • That article is quite interesting. Was talking about high bit and low bit seperation to create a decimal point. Blimey, I rememeber doing that when I made a Doom/Wolfenstein engine MANY years ago using RayCasting. Floats where a big no-no back then and you used pure integers to create a fake float points for speed. :D

    Will certainly give this plugin a try and do some speed checks. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Bit-shifting in the old days was to increase speed dramatically. However, in Gamemaker I used bitshifting and to my horror found out it was pointless as it only stored numbers are real's (floating point), even integers. It ment bit-shifting was no advantage what so every as GM was just multiplying them in the background anyway (as you cant bitshift floats from memory... well, you probably can but the results will not be what you want).

    Do you know if Bitshifting will actually provide any speed increases in COnstruct 2 (ie. does it store integers or is everything floats?)

    Nice plugin by the way

  • Thanks, thats close to what I ended up with though you did answer another noob question that I was going to ask. I was puzzled how to get the current value of the for loop (I ended up using a local variable) but I see its as easy as using loopindex. <img src="smileys/smiley1.gif" border="0" align="middle" />   I'm too used to using:

    for n = 1 to 10 so you'd use n to determine position.

    Liking the one sprite and using heaps of frames trick by the way. That may work quite nicely for what I'm trying myself.

    Thanks for the info. This is all part of the fun of learning a new language/tool.   <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for swift reply. Sub-event worked a treat. I'm just trying to create a 2D array (x/y grid) and and place sprites based on the number in the array. A map editor grid type idea.

    Have been trying to work my way through Tuts/Docs but am finding they are skipping over some small nuggets of info I need (or actual "code" examples). Construct Classic had full game Tuts that was making it easier to understand. Saying that, the samples that come with Construct 2 are pretty good.

    Thanks again

  • Hmmm.. is a sub-event my solution? I program Objective C, Game maker (usually all coded via GML), Java and outwitted by a GUI based language.   <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Hi,

    I'm used to coding languages rather than drag and drop. Being a total noob at this, I'm stuck at a simple thing! How to press say key "Q" (an event) and make the resulting action loop round an array. I understand the Array aspect, been doing them for years. My problem is that the Loops are part of the System "Event" and are not an "Action".

    So how do I then make a loop happen?

    I'm assuming there's ways to create functions?

    Looked at the Array Tut but he simply prints hello word 10 times using an system loop event.

    Any help appreciated.

    Iain

  • 6 posts