Way to many questions!

Game Editor comments and discussion.

Way to many questions!

Postby firerfun » Mon Nov 27, 2006 10:37 pm

I just found this program last night and I LOVE IT! I've watched 4 or 5 of the tutorials but I learn alot better by doing. And i know I'm gunna have lots of questions. So, Here's the first.

How do I make an object solid? Like, is there a way to make it so the main charcter cant walk through it?
firerfun
 
Posts: 14
Joined: Mon Nov 27, 2006 10:27 pm
Score: 0 Give a positive score

Postby firerfun » Mon Nov 27, 2006 11:04 pm

Question 2:

I'm doing a birds-eye veiw thing and I'm trying to set the background as grass. so i have a green pach I set down and then put as "infinate" in the actor control. When I do that it works fine. but if i shut the game down then re-load it every where that used to be green is now white. how do i keep it green?
firerfun
 
Posts: 14
Joined: Mon Nov 27, 2006 10:27 pm
Score: 0 Give a positive score

Postby Hedfone » Mon Nov 27, 2006 11:36 pm

I can answer both of your questions.
for the first one, use a collision event and a physical response.
this wil make the object "solid." play around with the physical response values until you get it right.

and number two, im guessing that you aren't working WTH GE's transparency. in other words, the colour in the upper corner of your "grass" graphic is what appears as transparent whe you load it into GE. instead of making the background green, make the back larger than your graphic and add a white(white can be switched with any unused colour) border. this Should work fine.

oh, and welcome to GE! :D
User avatar
Hedfone
 
Posts: 174
Joined: Mon Jul 31, 2006 9:47 pm
Score: 2 Give a positive score

Postby firerfun » Tue Nov 28, 2006 12:03 am

Ok, I figured out (thanks to your help) how to make things "solid". But, I didn't really understand your explination about the grass. Sorry : (. If you can explain it in any simpler terms that would be wonderful. and if you can't o well i'll figure somthing out
firerfun
 
Posts: 14
Joined: Mon Nov 27, 2006 10:27 pm
Score: 0 Give a positive score

Postby makslane » Tue Nov 28, 2006 12:24 am

firerfun wrote:I'm trying to set the background as grass. so i have a green pach I set down and then put as "infinate" in the actor control. When I do that it works fine. but if i shut the game down then re-load it every where that used to be green is now white. how do i keep it green?


Can you send me this game?
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Fuzzy » Tue Nov 28, 2006 12:29 am

if your graphic doesnt contain a transparency channel, also called an alpha channel, the GE will look at the upper left corner pixel, take that color, and make any pixels that match that color totally transparent.

To work around this, make a border around your tile. This will become transparent. It will appear to be discarded when in GE.

here is a visual example. the X becomes transparent in GE, and the O stays visible

This is your tile...
Code: Select all
XOOOOOOO
OOOOOOOO
OOOOOOOO
OOOOOOOO
OOOOOOOO
OOOOOOOO


Here is how you should draw the tile
Code: Select all
XXXXXXXX
XOOOOOOX
XOOOOOOX
XOOOOOOX
XOOOOOOX
XXXXXXXX



make sense?

If you dont understand, I will draw some tiles when I get home from work.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby Flob » Tue Nov 28, 2006 5:33 pm

Im right there with ya Firerfun, im almost done with my super mario brothers 3 game, =D well, - the timer =P
Flob
 
Posts: 9
Joined: Sun Nov 26, 2006 5:35 pm
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron