Welcome to Spyro the Dragon Forums!

You are not logged in.

#101 Aug 22, 2014 5:09 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Ah, I think I got it now smile
Hm, what about counting that angle for each line when creating the polygon? And based on the angle it would be wall or ground line. (I'm not sure if it would break anything though)

also in file spyro.js line 46
//Movement and collision with terrain
var speed = Math.sqrt(this.xspeed * this.xspeed + this.xspeed * this.xspeed);
last two speeds - shouldn't there be y?

Last edited by Gekoncze (Aug 22, 2014 5:18 PM)

Offline

#102 Aug 22, 2014 5:36 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Last edited by Sheep (Aug 23, 2014 4:53 PM)

Offline

#103 Aug 23, 2014 7:50 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

It's ok ^.^ I just didn't understand the code before, I thought it could be done using just one line like "isGround = collisionWithLevelOptimalised( ... )" or something like that.

I commited some changes big_smile added gems. I did the commit a coupple of hours after you pushed, so there is a little mess - I thought it would display only the last commit with all the changes, but it generated two commits - one for my changes and one for the merge with your changes (yay I learned how to use merge tool ^.^).

I don't know how to remove objects from the level array. (your code there seems like magic o.o, but it works great big_smile)
I don't know how to integrate gem colors with the editor.
When there is gem count, it should be rised in spyro.js in gem x spyro collision. The gem should be also removed from the array there, or just marked as 'alive = false' and then removed later at the end of the step maybe.

Offline

#104 Aug 24, 2014 12:03 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

var x = addObjectType("Gem 1", false, false, sprGemRed, Gem);
addObjectTypeProperty(x, "value", "The value of the gem. (Should not be changed)", 1);
var x = addObjectType("Gem 2", false, false, sprGemGreen, Gem);
addObjectTypeProperty(x, "value", "The value of the gem( Should not be changed)", 2);
var x = addObjectType("Gem 5", false, false, sprGemBlue, Gem);
addObjectTypeProperty(x, "value", "The value of the gem( Should not be changed)", 5);
var x = ...

Last edited by Sheep (Aug 24, 2014 8:47 PM)

Offline

#105 Aug 25, 2014 11:06 AM

Ulfbjörn
Member
From: Sweden
Registered: Sep 18, 2013
Posts: 54
Gems: 0

Re: Spyroforum Fan Game - Week of June 23rd

Last edited by Ulfbjörn (Aug 25, 2014 11:07 AM)

Offline

#106 Aug 25, 2014 4:05 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Offline

#107 Aug 25, 2014 8:48 PM

Spyrofan25
New Member
Registered: Apr 27, 2014
Posts: 4
Gems: 0
Birthday: 25 December
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd


Spyrofan forever

Offline

#108 Aug 26, 2014 6:57 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Offline

#109 Aug 27, 2014 11:31 AM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Last edited by Gekoncze (Aug 27, 2014 11:33 AM)

Offline

#110 Aug 27, 2014 12:49 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Last edited by Sheep (Aug 27, 2014 4:38 PM)

Offline

#111 Aug 29, 2014 5:45 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Another thing to think about: when spyro is staying, he slides down a slope even if it is only a very tiny angle. This was especially annoying with gems. Don't you know how to fix this Sheep? Maybe we could let the sliding only on slippery ground.

Offline

#112 Aug 29, 2014 6:17 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Yup, that annoys me too xD I do know how to fix it, I just haven't gotten around to do it yet, as I wanted to do all the Spyro sprites first, but now that I've slowed down my work on those, maybe I should just get that sliding fixed smile

Edit:
Fixed the sliding issue in a commit.

Last edited by Sheep (Aug 29, 2014 7:45 PM)

Offline

#113 Aug 30, 2014 12:30 PM

RadSpyro
Member
From: Avalar (UK)
Registered: Apr 18, 2008
Posts: 515
Gems: 0
Age: 35 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

I'll be working on a basket and treasure chest sprite soon. Are there any other items that need a sprite right now? smile

Offline

#114 Aug 30, 2014 12:54 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Sheep: good job smile

RadSpyro: gems maybe

Offline

#115 Sep 05, 2014 3:18 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Offline

#116 Sep 05, 2014 6:22 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Do you have a fire attack sprite? I was just thinking of implementing it soon ^.^

Offline

#117 Sep 05, 2014 6:52 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Offline

#118 Sep 05, 2014 10:08 PM

Flapjacks
Member
From: California, United States
Registered: Jan 20, 2013
Posts: 1,745
Gems: 0
Birthday: 5 October
Age: 24 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

You could remake all of the sprites that allow Spyro to flame while being used so that they have no head, then make a head sprite for Spyro that gets placed onto him when not flaming, and another one for when he is flaming. I don't know much about making games, but in terms of design, this is all I can think of.

Offline

#119 Sep 10, 2014 1:31 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

I was thinking of improving main menu and adding pause menu. How would you like those to look like?
As for the main menu I thought it would be nice to follow the classic style with spyro and enemies doing some suff there, not sure about the sign with a logo.

Last edited by Gekoncze (Sep 10, 2014 1:37 PM)

Offline

#120 Sep 10, 2014 2:10 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Last edited by Sheep (Sep 10, 2014 3:38 PM)

Offline

#121 Sep 13, 2014 1:14 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

I didn't imagine before how many sprites needs to be drawn. You're doing great with those Sheep! Are you going to put them in the game when they're all done or you're going to test some of them soon?
smile
I added pause menu.
How are we going to make the player save the game? Will it print some code like the editor does?
As for the fire attack head problem, we'll try and see. Maybe there would be needed one only for spyro standing, because that would look most weird if only flame appeared in front of him. As I imagine it when spyro moves, it does not look so weird, but maybe it's just my imagination helping it a bit big_smile We might also go with Flapjacks idea.

Last edited by Gekoncze (Sep 13, 2014 1:19 PM)

Offline

#122 Sep 13, 2014 2:55 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Last edited by Sheep (Sep 14, 2014 7:41 PM)

Offline

#123 Sep 19, 2014 4:26 PM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Offline

#124 Sep 19, 2014 10:50 PM

Sheep
Member
Award: Skateboard Contest Winner
From: Norway
Registered: Jan 24, 2008
Posts: 983
Gems: 0
Birthday: 20 January
Age: 30 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

Offline

#125 Sep 20, 2014 8:30 AM

Gekoncze
Baby Dragon
Award: Speedway Contest Winner Final
From: Czech Republic
Registered: May 16, 2009
Posts: 5,389
Gems: 145
Age: 29 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Offline

Board footer

Powered by FluxBB