You are not logged in.

#126 Sep 21, 2014 9:39 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

Finally made my commit smile Sorry for taking so long(a week longer than I anticipated xD) :S

For non GitHub people:
http://host-a.net/u/Greenblizzard/SpyrogameSprites.zip

Last edited by Sheep (Sep 21, 2014 9:40 PM)

Offline

#127 Sep 22, 2014 9:43 AM

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

Re: Spyroforum Fan Game - Week of June 23rd

o.o no wonder it took you so long, there's a lot of new code! The game loooks much better now big_smile

Edit: Added fede in/out effect. Enemies now also drop gems. smile
What about gem boxes? Should they be walk-through? And what kinds of them are we going to have?

Last edited by Gekoncze (Sep 27, 2014 11:25 AM)

Offline

#128 Sep 28, 2014 3:35 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

Good, good smile
Gem box walk-through-ability... I think not, as that would reduce the sense of impact when you break them.

I'd like to have the standard vases and baskets, the spring chests from Spyro 1 (those where the gem pops up when you flame or charge into it), explosive vases, butterfly jars, and some of the reinforced chests, but I'm not sure which at the moment.

Edit: 12.10.2014
Made the charge crash sprite smile
spyrochargecrash.gif

Last edited by Sheep (Oct 12, 2014 3:21 PM)

Offline

#129 Oct 19, 2014 1:45 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

Nice! smile Glad the head is not like in the original games tongue

Added some chests, but I'll let the collisions up to you Sheep.

Offline

#130 Oct 19, 2014 5:42 PM

Mateos
Member
From: France
Registered: May 25, 2013
Posts: 122
Gems: 0
Birthday: 5 September
Age: 27 years old
Gender: Male

Re: Spyroforum Fan Game - Week of June 23rd

Stormy wrote:

Code Review: Send me Github usernames and look over what we've got so far on Github and give your comments/suggestions. Mostly just for practice right now since we're still pretty early on; don't worry about it too much right now.

Sorry missed this part :x

Mateos81

Offline

#131 Oct 26, 2014 10:05 AM

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

Re: Spyroforum Fan Game - Week of June 23rd

I tried adding the vase sprite I've seen lying here before. It seems to me its too small. What do you think?
toosmall.png


also, I added some butterflies! smile

Offline

#132 Oct 28, 2014 5:53 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

Yes, it does look a bit small... Maybe bigger by a half would be right?
It's one of those things that's difficult to decide. When I play the games, I mostly see the vases from a distance, and so think of them as being smaller than they actually are.

Good job, Geko:)

I've been really busy lately, so I haven't had time to look at the game or code, but I'll see if I can get something done tomorrow. Perhaps collision with vases/baskets, and maybe some graphics other than Spyro himself tongue

Offline

#133 Oct 28, 2014 8:37 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

Sheep wrote:

Yes, it does look a bit small... Maybe bigger by a half would be right?

Yup, bigger by half could do it. smile I agree its a bit difficult to decide. For some reson it seemed to me too small especially when jumping/gliding over it.

Sheep wrote:

I've been really busy lately, so I haven't had time to look at the game or code, but I'll see if I can get something done tomorrow. Perhaps collision with vases/baskets, and maybe some graphics other than Spyro himself tongue

I also got a bit busy now, especially because of uni. I also bought a book about developing games for android big_smile but I'll have some time for this project too.

Offline

#134 Nov 17, 2014 5:12 PM

Stormy
Administrator
Award: Admin
From: Illinois
Registered: Jun 01, 2006
Posts: 10,364
Gems: 523
Birthday: 3 April
Gender: Female
Website

Re: Spyroforum Fan Game - Week of June 23rd

Got you added, Mateos. Sorry for taking so long! D:


Come watch me play dance games and other stuff on Twitch!

Offline

#135 Nov 22, 2014 2:42 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

So I got an issue. If there is a chest on jump through platform, how should it affect Spyro's movement? (assuming chests are not walk through) Also, should Spyro be able to stand on the chests?

and...
SHEEP HELP!! D:
I tried implementing the chest collisions since I saw you've had so much stuff to do, but its weird... It works only when spyro is not sticked to the ground (= when stick to ground function commented out). What happens is that when walking to the chest, spyro stops, but his y position behaves very weird o.O causing proxy jumps at certain times.

What I simply did was editing the objectXlevelPartCollision, making chests (baskets only) move spyro away the same way as lines.

Here's the part of code I edited in object.js:

Hidden text
/*
    Requires object to have following properties:
        x, y, xspeed, yspeed, radius
*/
function objectXlevelPartCollision( object, levelPart )
{
     ...
     ...    some code
     ...

        //Then, in general, do this a number of times:
        //1. Check if object is colliding with any lines.
        //2. Move out of the nearest line
        //Repeat the above two
        var g = 7;
        while (g--){

            var info = {
                xDiff: 0, //Difference between the nearest point on the wall and object's position
                yDiff: 0,
                sqrDist: sqrRadius, //The squared distance between object's origin and the nearest point on the wall
            };

            //Find the required relationship information between object and the nearest line
            for(var n = 0; n < l; n++){

                var polygonInd = levelPart[n].polygonInd;

                if( ! overlappingPolygons[polygonInd] ){
                    var pointInd = levelPart[n].pointInd;

                    var poly = polygons[polygonInd];
                    var px = poly.position.x;
                    var py = poly.position.y;

                    var p1 = poly.points[pointInd];
                    var p2 = poly.points[(pointInd + 1) % poly.points.length];

                    var np = nearestPointOnLine(object.x, object.y, p1.x + px, p1.y + py, p2.x + px, p2.y + py);
                    var xx = np.x - object.x;
                    var yy = np.y - object.y;
                    //If the polygon is jumpthrough and object is not above the line, skip it.
                    if( ! (yy - offset < 0 && poly.jumpThrough) ){
                        _updateNearestWallInfo(object, info, xx, yy);
                    }
                }
            }

            _findNearestChest(object, info);

            //Push object out of the nearest wall
            if(info.sqrDist < sqrRadius){
                isCollision = true;
                var pushFactor = (object.radius - Math.sqrt(info.sqrDist)) / object.radius;
                object.x -= info.xDiff * pushFactor;
                object.y -= info.yDiff * pushFactor;
            }
        }
    }

    //Calculate a new directional speed based on the movement this step.
    object.xspeed = object.x - xprev;
    object.yspeed = object.y - yprev;

    if(object == objSpyro) debug("Spyro y: "+object.y);
	
	return isCollision;
}

function _findNearestChest(object, info){
    // Find nearest chest
    var chest = null;
    for(n = 0; n < objLevel.ChestBasket.length; n++){
        chest = objLevel.ChestBasket[n];
        if(!chest.alive) continue;

        // get nearest point on the chest
        var dir = objectDirection(chest, object);
        var npx = chest.x + chest.radius*Math.cos(dir*Math.PI/180);
        var npy = chest.y - chest.radius*Math.sin(dir*Math.PI/180);

        var xx = npx - object.x;
        var yy = npy - object.y;

        _updateNearestWallInfo(object, info, xx, yy);
    }
}

function _updateNearestWallInfo(object, info, xx, yy){
    var d = xx*xx + yy*yy;

    //Check if the wall is touching object, and if it is the nearest this far
    if( d < (object.radius*object.radius) && d < info.sqrDist){
        info.xDiff = xx;
        info.yDiff = yy;
        info.sqrDist = d;
    }
}

Last edited by Gekoncze (Nov 22, 2014 2:47 PM)

Offline

#136 Nov 22, 2014 5:50 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

I got the same problem... I had programmed chest collision, and then got to that jump-through platform dilemma. But my solution to the on-ground proxy jump effect was to, when he's on the ground use a slightly different collision code. I don't think Spyro should be able to stand on the chests, except possibly target chests.
Anyway, when the chest collision work stopped, I decided to try making a background and portal instead, although the portal is just a visual at the moment, and the background isn't big enough. But that's as far as I got before school got more demanding tongue

If you want, I can commit what I have, but I'm not sure whether it should be on the master branch or not, as all of it is incomplete.

Offline

#137 Nov 22, 2014 8:44 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

oh, so, does the collision with the chests work? maybe you could upload some of it big_smile I would like to add some things to it!

Offline

#138 Nov 23, 2014 8:46 AM

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

Re: Spyroforum Fan Game - Week of June 23rd

It works, but there's still the problem with jump-through platforms.
Anyway, comitted.

Offline

#139 Nov 23, 2014 4:58 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

good job!
looks much better with the background big_smile

Last edited by Gekoncze (Nov 23, 2014 4:59 PM)

Offline

#140 Jan 05, 2015 10:04 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

I added sparx colors and save game data, but there is a minor bug which I can't seem to reproduce. It happened to me only 2 times. (when I randomly collected gems, killed enemies / chests and switched levels) It makes 4 holes of 0's in the output under the game window in "Gems collected:" when all the gems are already collected. I'll try to fix it as soon as possible. Testers can help me find it too, if there are any. I just need to know when exactly does it happen. smile

Next time I'm gonna add in-game panel displaying gem count and lives. We need some sprites for gems! (is RadSpyro still participating?)

Last edited by Gekoncze (Jan 05, 2015 10:05 PM)

Offline

#141 Jan 07, 2015 1:39 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

I'll try testing it a bit and see if I encounter the bug!
I'm still a bit too occupied to actively work on this at the moment, but I hope to do something soon-ish hmm

Edit:
I couldn't find the bug, no matter what I tried to do. The things seem to work really well, so good job! big_smile

Last edited by Sheep (Jan 07, 2015 1:59 PM)

Offline

#142 Feb 01, 2015 12:31 AM

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

Re: Spyroforum Fan Game - Week of June 23rd

Sooo, I have the panel and speech box / dialog finally done! Still working on Moneybags (need to save state into save data and check for gem count) smile

The dialog class might still change depending on the needs, especially for level editor support.
Right now, the pages are displayed in the order they are put into the array, but I can also change it so each page has an id of next page if needed.

There could be some dynamic objects that could change size, position and/or rotation. Each of this object will have defined its change parameters when created (ie move 64px left, rotate 45°, ...). There could be a dialog sub-editor in the level editor, where you could add pages and choose which object to change when an option is triggered (or to do some other action from a list).

Offline

#143 Feb 01, 2015 10:58 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

Ah, man, I need to get back to this project:P
This week...! (hopefully smile )

There could be some dynamic objects that could change size, position and/or rotation.

Change size, position and/or rotation of what? Some part of the displayed dialog?

Offline

#144 Feb 02, 2015 12:38 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

Sheep wrote:

There could be some dynamic objects that could change size, position and/or rotation.

Change size, position and/or rotation of what? Some part of the displayed dialog?

I mean the polygons - terrain. When Spyro for example pays Moneybag, a bridge would scale out.

Offline

#145 Feb 04, 2015 9:48 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

Gekoncze wrote:

I mean the polygons - terrain. When Spyro for example pays Moneybag, a bridge would scale out.

Oh, yes! That's a good idea smile

Offline

#146 Mar 03, 2015 7:30 AM

Spyro1267
New Member
Registered: Mar 02, 2015
Posts: 3
Gems: 0

Re: Spyroforum Fan Game - Week of June 23rd

The ideas seem nice. Anything I should do since I only do voice over?

Offline

#147 Mar 03, 2015 9:41 PM

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

Re: Spyroforum Fan Game - Week of June 23rd

I don't know if we're going to have voices in this game. If yes, then why not.

What we need a lot is somebody to do graphics, since RadSpyro didn't take a visit here for a long time.. I try to fight with it a bit, creating moneybags sprite big_smile but it takes a lot of time, which I have less again now because next half year of uni.

Last edited by Gekoncze (Mar 03, 2015 9:43 PM)

Offline

#148 Mar 03, 2015 11:06 PM

Stormy
Administrator
Award: Admin
From: Illinois
Registered: Jun 01, 2006
Posts: 10,364
Gems: 523
Birthday: 3 April
Gender: Female
Website

Re: Spyroforum Fan Game - Week of June 23rd

Oops, forgot we didn't already have that assigned as a job. tongue

But once we get the script written (UpDownLeftWrite, RadSpyro, you guys around?), I don't see any reason not to have voice acting if someone's available to do it.

Maybe Flapjacks would want to do some of the voices too?

Although if we need any female voices, I'm not sure what we're going to do. I guess I could try doing them, but my voice acting might not be that great. tongue


Come watch me play dance games and other stuff on Twitch!

Offline

#149 Mar 04, 2015 1:52 AM

36IStillLikeSpyro36
Moderator
Award: Globmod
From: here: tinyurl.com/ihb5ycbc
Registered: Aug 15, 2008
Posts: 17,300
Gems: -4,017
Birthday: 2 August
Age: 25 years old
Gender: Male
Website

Re: Spyroforum Fan Game - Week of June 23rd

i can also do various different voices if necessary.

https://www.youtube.com/watch?v=q6ZPRtU … 5&index=29
https://www.youtube.com/watch?v=mBLM1T_ … 5&index=38
https://www.youtube.com/watch?v=e5b7KM2 … 5&index=44

^ i also have better audio recording equipment than this.

Last edited by 36IStillLikeSpyro36 (Mar 04, 2015 1:53 AM)


36sig.png
"Burping a lot lately 36?" - Mr. John

Offline

#150 Mar 04, 2015 5:22 AM

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

Re: Spyroforum Fan Game - Week of June 23rd

I can totally do voices, I just don't know which ones I would do. I think you guys know what my voice sounds like at this point tongue
Also, sorry to say, but when I said I could do music, I was going through a sort of phase where I thought I could make music, but that kind of passed. Sorry about that, but I still want to help this project in any way I can.
To whoever will do the music, I will gladly give them a folder containing all of the audio samples I gathered from the soundtrack of the Spyro games.
I'm still dedicated to helping this project, so I'll do voices, maybe some writing if those guys are unavailable, level design? maybe? Game design is a thing I like to dabble in the idea of, and I consider myself fairly knowledgeable in how it works, stuff like that.
But, yeah, sorry for the problems, I'm bad at figuring out what I'm good at. I know you wanted dedicated people for the project so feel free to give me hell lol.


Swaffy wrote:

I'm not sorry if I offended you.

Offline

Board footer

Powered by FluxBB