librelist archives

« back to archive

thank you

thank you

From:
Sebastjan Hribar
Date:
2013-01-13 @ 06:44
Hi guys,

I just wanted to say thanks to all of you working hard on the shoes 4
project. Shoes is really awesome and I appreciate the effort being put
in the new version.

On a side note, I have one general question. Would it be possible to
make a simple stickman ski jumping game using shoes? Something in the
lines of Ski Jump International 3 or even simpler
(http://www.youtube.com/watch?v=yOOnki4ft7o)?


thank you and kind regards
seba

Re: [shoes] thank you

From:
Davor
Date:
2013-01-13 @ 14:31
Heya!

The answer to your question is yes, but it could be more or less 
difficult depending on how you want to do it.

There are two ways to do it:
* Using the line-element
* Using the image-element

I don't think that Shoes 3 supports the line-element, but Shoes 4 does. 
If you used this, then building a game like that would be fairly 
straightforward.

The image-element would be a little more troublesome because Shoes 
doesn't won't rotate the image for you. In that case you would have to 
produce a bunch of images and then load them in separately every time 
you would like to rotate the ski. But I suppose you would have to do 
something similar to that for the sprite animations anyway.
-- 
Davor Babic
davor@davor.se


Sebastjan Hribar wrote:
> Hi guys,
>
> I just wanted to say thanks to all of you working hard on the shoes 4
> project. Shoes is really awesome and I appreciate the effort being put
> in the new version.
>
> On a side note, I have one general question. Would it be possible to
> make a simple stickman ski jumping game using shoes? Something in the
> lines of Ski Jump International 3 or even simpler
> (http://www.youtube.com/watch?v=yOOnki4ft7o)?
>
>
> thank you and kind regards
> seba
>

Re: [shoes] thank you

From:
Sebastjan Hribar
Date:
2013-01-13 @ 17:40
Hi Davor,

thank you for your reply. For now I just wanted to know if it's
possible, but I am way in over my head as I always bite off more than I
can chew:). Based on my knowledge this would be a longterm project
anyway. 

Maybe I'll start with the project anyway and dive deeper into Shoes. But
I am curious about the line element though. Maybe if I combined both it
would be best. 

Anyway, thanks again.
seba

Dne 13.01.2013 (ned) ob 15:31 +0100 je Davor napisal(a):
> Heya!
> 
> The answer to your question is yes, but it could be more or less 
> difficult depending on how you want to do it.
> 
> There are two ways to do it:
> * Using the line-element
> * Using the image-element
> 
> I don't think that Shoes 3 supports the line-element, but Shoes 4 does. 
> If you used this, then building a game like that would be fairly 
> straightforward.
> 
> The image-element would be a little more troublesome because Shoes 
> doesn't won't rotate the image for you. In that case you would have to 
> produce a bunch of images and then load them in separately every time 
> you would like to rotate the ski. But I suppose you would have to do 
> something similar to that for the sprite animations anyway.

Re: [shoes] thank you

From:
ashbb
Date:
2013-01-15 @ 14:07
Hi Sebastjan,

> Would it be possible to make a simple stickman ski jumping game
> using shoes?
Wow, fantastic! Please try it out!! :-D

I don't know 'stickman ski jumping game'.
But I watched the video you showed on youtube and wrote my two cents.

code: https://gist.github.com/4538782
background image: http://www.rin-shun.com/shoes4/tmp/back_image.png
demo: http://www.rin-shun.com/shoes4/tmp/shoes4-ski-jumping.swf.html

This is not a game, just an example to learn Shoes 4, though.
Hope this helps and I'm looking forward to see your project. ;-)

Cheers,
ashbb

Re: [shoes] thank you

From:
Sebastjan Hribar
Date:
2013-01-17 @ 07:31
> code: https://gist.github.com/4538782
> background image: http://www.rin-shun.com/shoes4/tmp/back_image.png
> demo: http://www.rin-shun.com/shoes4/tmp/shoes4-ski-jumping.swf.html
> 
> This is not a game, just an example to learn Shoes 4, though.
> Hope this helps and I'm looking forward to see your project. ;-)



I looked at your code and before I actually get started coding I wrote
some assumptions:

1 Create a skier in a way to initialize an app object within the skier
class with the required images. (as you did in the sample)

  1.1 I'd need to manipulate the skier in the following manner:

    1.1.1 Skier on the slope --> static image

    1.1.2 Skier on the take-off ramp --> static image --> triggered by
keypress

    1.1.3 Skier in the air --> should be dynamic and enable corrections
of the ski angle according to the wind. --> triggered by keypress

                               Here I see two options:
                                1.1.3.1 Have several static images that
would change.

                                1.1.3.2 Have only the partial image of
the ski moving.

    1.1.4 Skier landing --> static image --> landing triggered by
keypress

    1.1.5 Skier crashes --> static image --> if take-off is too late or
too soon and if landing is too late


By static image I refer to the skier image you've created in the sample
and all the partial images are static throughout the action (on the
slope, in the air, etc.).
By dynamic image I refer to the skier image where one of the partial
images is not static, but instead it changes by pressing a key (eg. the
ski angle).

I also intend to incorporate the wind as the only jumping condition.
One of my concerns is the fact that the skier is basically an app object
which in turn is a slot. And when I call the move on it, the entire slot
moves. I tested this and if there are any paralel slots, they move too.
It's hard to explain, I'll put it on the github anyway when I am so far.


What do you think? Have I missed something?


regards,
seba

Re: [shoes] thank you

From:
ashbb
Date:
2013-01-17 @ 12:32
Hi Seba,

Good assumptions!

I think there are several ways to change the ski angle.
For examples:
- show and hide
- rotate
- clear

But rotate is not yet implemented in Shoes 4 for now.

Try out my snippet updated with show/hide function.
code: https://gist.github.com/4538782
demo: http://www.rin-shun.com/shoes4/tmp/shoes4-ski-jumping-r1.swf.html

> It's hard to explain, I'll put it on the github anyway when I am so far.
Okay, let us know when you open your project on github.
We can help you. ;-)

Cheers,
ashbb

Re: [shoes] thank you

From:
Sebastjan Hribar
Date:
2013-01-15 @ 14:40
Hi ashbb,

again, awesome:)
This will help me get started.

One more general question: so far I've been more or less green shoes fan
as you know. But since shoes 4 is so far along I am guessing it would be
best for me to just start working actively with shoes 4, right? Just to
avoid any unnecessary refactoring between the two.

regards
seba



Dne 15.01.2013 (tor) ob 23:07 +0900 je ashbb napisal(a):
> Hi Sebastjan,
> 
> > Would it be possible to make a simple stickman ski jumping game 
> > using shoes?
> Wow, fantastic! Please try it out!! :-D
> 
> I don't know 'stickman ski jumping game'.
> But I watched the video you showed on youtube and wrote my two cents.
> 
> code: https://gist.github.com/4538782
> background image: http://www.rin-shun.com/shoes4/tmp/back_image.png
> demo: http://www.rin-shun.com/shoes4/tmp/shoes4-ski-jumping.swf.html
> 
> This is not a game, just an example to learn Shoes 4, though.
> Hope this helps and I'm looking forward to see your project. ;-)
> 
> Cheers,
> ashbb

Re: [shoes] thank you

From:
ashbb
Date:
2013-01-16 @ 11:38
Hi Seba,

> it would be best for me to just start working actively with shoes 4,
> right? Just to avoid any unnecessary refactoring between the two.

Shoes 4 is still under development, but we are glad if you start your
project with Shoes 4 and give us feedback. ;-)

Let's have fun with Shoes 4!
ashbb