This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-02-07 19:28:06

GLaDOS2
Scratcher
Registered: 2011-06-13
Posts: 1000+

First Person-like game

How would I make one? I can't quite get the background working.

The point is, you're just exploring Jupiter as a T3 planet (one that can support life), and I can't get it to work right. I'm using arrow keys, not WASD.

I have grass that changes shape when you walk, but how would I script arms and tools, exactly?

EDIT:
I'm doing the sprite-based raycaster.... but I'm clueless on the script. .3.

Last edited by GLaDOS2 (2012-02-08 18:52:10)


http://images2.wikia.nocookie.net/__cb20110421154628/half-life/en/images/9/9b/Glados_wheatley_tubes.jpghttp://24.media.tumblr.com/tumblr_m9bko90YfQ1rdk0vvo1_250.png

Offline

 

#2 2012-02-07 22:34:16

wildplayer
Scratcher
Registered: 2008-08-01
Posts: 100+

Re: First Person-like game

Make separate sprites for each action, maybe about 3-10 per action. And have it run through the costumes.

Have the other sprites with some code like forever > if  {touching [mouse or lens]} > (make it run through costumes or dissapear for death)

Last edited by wildplayer (2012-02-07 22:37:29)

Offline

 

#3 2012-02-08 03:59:40

zackman94
Scratcher
Registered: 2009-06-15
Posts: 61

Re: First Person-like game

I don't mean to be annoying, but jupiter is gas with a bit of liquid near the core. there is no solid ground on it...

Offline

 

#4 2012-02-08 04:17:52

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: First Person-like game

Well, for the world you probably want to raycast
And for the arms tools etc... you will have to change costumes ie.

when gf clicked
if <key [e v] pressed?> // your punching key :P
  switch to costume [punch1]
  switch to costume [punch2]
  switch to costume [punch3] //untill the punch costumes are done
end


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#5 2012-02-08 18:52:36

GLaDOS2
Scratcher
Registered: 2011-06-13
Posts: 1000+

Re: First Person-like game

zackman94 wrote:

I don't mean to be annoying, but jupiter is gas with a bit of liquid near the core. there is no solid ground on it...

Actually, it DOES have a core.

(also, bump)


http://images2.wikia.nocookie.net/__cb20110421154628/half-life/en/images/9/9b/Glados_wheatley_tubes.jpghttp://24.media.tumblr.com/tumblr_m9bko90YfQ1rdk0vvo1_250.png

Offline

 

#6 2012-02-09 17:36:30

GLaDOS2
Scratcher
Registered: 2011-06-13
Posts: 1000+

Re: First Person-like game

Bump


http://images2.wikia.nocookie.net/__cb20110421154628/half-life/en/images/9/9b/Glados_wheatley_tubes.jpghttp://24.media.tumblr.com/tumblr_m9bko90YfQ1rdk0vvo1_250.png

Offline

 

#7 2012-04-10 21:12:07

veshnov
Scratcher
Registered: 2012-02-01
Posts: 7

Re: First Person-like game

Ah! First person is Triton Games's speacialty! Check out one of our games, like that game where you kill stuff (Thats the name of the game)

Offline

 

Board footer