Jump to content


theepicgeno

Member Since 12 Feb 2012
Offline Last Active Today, 06:50 AM

Topics I've Started

Placing Blocks Via Collision Line.

17 April 2013 - 06:47 PM

Hello! As you can see a need help with something.

I am trying to figure out how to do this:

- a player collision line that will check wether it is touching the top, bottom, or either side of a block.
- when right mouse is clicked, the block will be placed wherever the collision line is touching a block (above, below, or on either side).

I am having trouble trying to do this, so if anyone can help, it would be greatly appreciated! Thanks.

Gm4Mac Publish Button Wont Publish?

11 April 2013 - 04:18 AM

When i publish my game, i login and it tells me to keep logging in. I can never get to the upload page. 

 

Have any idea whats wrong?


Saving Sprite Name In An Ini File, With An Array.

24 February 2013 - 02:58 AM

Spoiler

The code above is in the create event of the hot bar.
The code below is in the room end event of the hot bar.
Spoiler


Now, ill explain to you all what happens.

When i collect items all of the correct sprite come up (example picture):
Posted Image
Then i close the game, and open the "inv.ini" file (example picture):
Posted Image
Now above, you can see that Slot [0-5]a/b are working, but not Slot [0-5] (the sprite holder array).

Below is what it looks like then i open the game back up (example picture):
Posted Image

And when i place the blocks, it places the block that was there when i closed the game. Its really killing me that i can't figure out this problem... Any ideas on how to fix this?

Sprite Still Showing.

18 February 2013 - 03:31 AM

This code is in the Global Right Pressed event for objPlayer. This is also the main block placement code.
(kinda messy)
Spoiler

Its basically saying that if objHotbar.curr(1-6)[2] is equal to 0, the sprite would not be shown. But it still shows even when objHotbar.curr(1-6)[2] is equal to 0. Then once i click again, it disappears.

I know that the s_Block_* scripts are not the cause of it, because that script only chooses the block that will be placed.

If anyone can help me in anyway, that would be great!

I even added a nice image:
Posted Image

How many Quotes can a Quote Quote?

14 February 2013 - 06:11 AM

The title says it all!

Just keep quoting the person above you.

You can't double post, and you must have something to say below the quote.

OK GO!