Source
Report Share List favoriters

Comments

Syntax quick reference: **bold** *italic* ||hide text|| `code` __underline__ ~~strike~~ ^sup^ ~sub~

Detailed syntax guide

redweasel
Duck - "someone befriended them, saved them, coaxed them out of their shell, and showed them that sex is nothing to be afraid of. I’m kind of envious of that rape victim"

Fuzzbutt
ooh, that looks really nice!
 
(be sure to make the enemies at least a little bit slower than the player)
Background Pony #FBA8
carful with the power of AI  
it can do odd things in the wrong hands.
Castellan Fyor
Fifth Yacht -
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Non-Fungible Trixie -

For the Emperor!
@platinumdrop  
Excellent!  
Thanks for the help.
platinumdrop
Fifth Yacht -
Diamond Trophy - Are you a TAS by any chance?
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Chaotic Little Trees - 1000+ images under their artist tag
A Really Hyper Artist - 500+ images under their artist tag
A Really Classy Artist - 250+ images under their artist tag
An Artist Who Rocks - 100+ images under their artist tag
Artist -

Immortal spirit
the 2d box collision is the following:
 
if box a maximum x smaller than box b minimum x  
OR  
if box a minimum x larger than box b maximum x  
the boxes are away from each others, collision false;
 
if box a maximum y smaller than box b minimum y  
OR  
if box a minimum y larger than box b maximum y  
the boxes are away from each others, collision false;
 
if we are here, we have only one case left, collision detected, because the minimum x or maximum x is between the minimum and maximum x and the minimum y or maximum y is between the minimum and maximum y
 
how this looks as code? (just quickly, i hope its correct xD)
 
 
class vec2  
{  
public:  
float x;  
float y;  
};
 
class box  
{  
public:  
vec2 pos;  
vec2 vol;  
};
 
bool interBoxes(box _a,box _b)  
{  
if( _a.pos.x___a.vol.x<=_b.pos.x_b.vol.x||_a.pos.x_a.vol.x>=_b.pos.x___b.vol.x )  
return false;  
if( _a.pos.y___a.vol.y<=_b.pos.y_b.vol.y||_a.pos.y_a.vol.y>=_b.pos.y___b.vol.y )  
return false;
 
return true;  
}
Castellan Fyor
Fifth Yacht -
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Non-Fungible Trixie -

For the Emperor!
@platinumdrop  
Well, I’m starting out and I have no idea of how to make collisions
platinumdrop
Fifth Yacht -
Diamond Trophy - Are you a TAS by any chance?
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Chaotic Little Trees - 1000+ images under their artist tag
A Really Hyper Artist - 500+ images under their artist tag
A Really Classy Artist - 250+ images under their artist tag
An Artist Who Rocks - 100+ images under their artist tag
Artist -

Immortal spirit
@Communist Starlight  
for example? :)
Castellan Fyor
Fifth Yacht -
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Non-Fungible Trixie -

For the Emperor!
@platinumdrop  
Omg, c____? I would like some tips!
Background Pony #C759
Nicely done!
 
Nice to hear you’re using A* for pathfinding.
 
Keep up the good work!
platinumdrop
Fifth Yacht -
Diamond Trophy - Are you a TAS by any chance?
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Chaotic Little Trees - 1000+ images under their artist tag
A Really Hyper Artist - 500+ images under their artist tag
A Really Classy Artist - 250+ images under their artist tag
An Artist Who Rocks - 100+ images under their artist tag
Artist -

Immortal spirit
@BitAssembly  
I wrote a 2d/3d library for practice years ago, so I had everything to make my own engine. I call it Code Pony game engine, and try to make it modifiable.
 
Drawing: OpenGL, sound: OpenAL + vorbisfile. Own math library and own physics, pathfinding: a-star algorythm implementation, own path map and a.i. implementation.
 
 
I recruit 2D artists, and a music producer in a hungarian group now, the following roles are open yet:  
-artists / animator  
-someone responsible for collecting sounds  
-dialogue writer (and deg / using ocs)  
-music producer  
-mapper
 
the project is non-profit.
BitAssembly
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Non-Fungible Trixie -
A Really Classy Artist - 250+ images under their artist tag
Twinkling Balloon - Took part in the 2021 community collab.
My Little Pony - 1992 Edition
Friendship, Art, and Magic (2020) - Took part in the 2020 Community Collab
The Magic of Friendship Grows - For helping others attend the 2020 Community Collab
Hard Work - Merited Perfect Pony Plot Provider badge with only their own art
Perfect Pony Plot Provider - er of 10+ images with 350 upvotes or more (Questionable/Explicit)
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes

if (hors) then lood;
Oh shmeckel, your’e making your own engine, impressive stuffs.
platinumdrop
Fifth Yacht -
Diamond Trophy - Are you a TAS by any chance?
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Chaotic Little Trees - 1000+ images under their artist tag
A Really Hyper Artist - 500+ images under their artist tag
A Really Classy Artist - 250+ images under their artist tag
An Artist Who Rocks - 100+ images under their artist tag
Artist -

Immortal spirit
@Background Pony #5F93  
Its a complex question, First I save the positions, i detect separated the 2 axises (x,y), first trying to move at x, if i detect hit, i replace the x value by the wall and the players x volume. Same for the y axis.
 
I made different cases when the “box” y velocity is + (it goes up) or -, (it goes down) so i know if the player hits the ground or the ceiling.  
Then i apply onGround to the character if hits the ground. canJump=true, etc.
 
This repeats in normalized steps while the velocity x and y (separated) > 0
 
The engine is written in c____.
 
(i hope its clear, my english is bad, i learned it from video games.)
BitAssembly
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Non-Fungible Trixie -
A Really Classy Artist - 250+ images under their artist tag
Twinkling Balloon - Took part in the 2021 community collab.
My Little Pony - 1992 Edition
Friendship, Art, and Magic (2020) - Took part in the 2020 Community Collab
The Magic of Friendship Grows - For helping others attend the 2020 Community Collab
Hard Work - Merited Perfect Pony Plot Provider badge with only their own art
Perfect Pony Plot Provider - er of 10+ images with 350 upvotes or more (Questionable/Explicit)
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes

if (hors) then lood;
Cool stuffs, what are you using to make it?
Background Pony #0DC8
I have a question. How do you handle hit detection? I’m budding programmer trying my hand at coding and I’m wondering how you in particular deal with hit and ground detection.
Castellan Fyor
Fifth Yacht -
Solar er - Fought against the New Lunar Republic rebellion on the side of the Solar Deity (April Fools 2023).
Non-Fungible Trixie -

For the Emperor!
An excellent example of pony pathfinding!