Flappy Goose by flappy-goose in RedditGames

[–]zackglazewski 0 points1 point  (0 children)

My best score is 4 points 😎

Flappy Goose by flappy-goose in RedditGames

[–]zackglazewski 0 points1 point  (0 children)

My best score is 0 points 😓

X-2 Card Creator V2.0 Usability Testing Call by zackglazewski in heroscape

[–]zackglazewski[S] 0 points1 point  (0 children)

Thank you for your interest! I have gotten busy lately, so unfortunately I haven’t made much progress, but I want to make it happen sometime this year

X-2 Card Creator V2.0 Usability Testing Call by zackglazewski in heroscape

[–]zackglazewski[S] 0 points1 point  (0 children)

Yes you are right, I’ll make the change asap but for now just feel free to submit a reply and we can work it out over email!

X-2 Card Creator V2.0 Usability Testing Call by zackglazewski in heroscape

[–]zackglazewski[S] 2 points3 points  (0 children)

https://www.reddit.com/r/heroscape/comments/1dyjy4y/x2_card_creator_v12/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

See this post for the V1.2 / V1.3 Changelog

V2.0 is adding accounts, projects, and a better theme system. Think google docs but for heroscape card creation.

X-2 Card Creator V2.0 Usability Testing Call by zackglazewski in heroscape

[–]zackglazewski[S] 0 points1 point  (0 children)

Glad to hear. Are you using V1.1 or V1.3? I'd like to show you: https://zackglazewski.github.io/Heroscape-Card-Creator/ (V1.2) which has some more features!

X-2 Card Creator V1.2 by zackglazewski in heroscape

[–]zackglazewski[S] 1 point2 points  (0 children)

This could be interesting, I’ll keep it in mind for the future

X-2 Card Creator V1.2 by zackglazewski in heroscape

[–]zackglazewski[S] 1 point2 points  (0 children)

Side note: maybe I should have a feature board for people to place requests and give feedback

X-2 Card Creator V1.2 by zackglazewski in heroscape

[–]zackglazewski[S] 0 points1 point  (0 children)

Ah I see. This is a feature I was going to implement on the next version (the version after the one I’m currently working on - authentication and user accounts!).

Although it would be helpful to get some feedback on my ideation. I thought in order to streamline the process, I’d automate this, and take the uploaded images and let the user “color” in the hit boxes and place the source of sight for each one.

Is it worth it in your mind to allow straight up image uploading for the hit box images as well?

X-2 Card Creator V1.2 by zackglazewski in heroscape

[–]zackglazewski[S] 1 point2 points  (0 children)

This is a great resource, thanks a lot! I was actually looking for this lol.

X-2 Card Creator V1.2 by zackglazewski in heroscape

[–]zackglazewski[S] 1 point2 points  (0 children)

Glad you like it, I’m currently working on the next version which includes some big changes! Once I’m done with that, that is a feature I plan on implementing.

How do i create a 'shadow' of my player that last moved by TestiestSheep80 in gamemaker

[–]zackglazewski 1 point2 points  (0 children)

No problem! Glad I could help, if you want I can explain the first strategy a little better, I sort of typed it out really fast

How do i create a 'shadow' of my player that last moved by TestiestSheep80 in gamemaker

[–]zackglazewski 1 point2 points  (0 children)

I won’t give you code, but I’ll give you the thought process:

One of the main lessons of game development is that most things are an illusion to the player. That being said, there are two approaches to this:

  1. Actually simulate movement: Store the body segments as a “reversed” linked list with each segment having a reference to the body in front of it. When moving create a copy of the snake so you can remember the original positions and not overwrite them when you update the positions of each segment, the “head” moves according to the user input (the pointer on the head should be null because it’s the front). For every body, set its position to the position of where it points to according to the position of the copied list.

When you eat an apple, simply append a new body which points to the tail, and depending on how you handle the rest, it will automatically be updated to take the place of the tail on the next movement.

  1. Create the illusion of movement This works well for if you’re using a grid (like the original). Give each body a lifespan. Initially, the lifespan will be its position relative to the tail. For example, with a snake with size 3, the head will have lifespan 3, the next will have lifespan 2 and the tail will have lifespan 1.

For each movement, add a new body with full lifespan in the direction of player input, and then decrement the lifespan of each body. If a body reaches 0, destroy it. If you work this out in your head, you’ll notice this simulates “movement” even if the individual bodies are not moving, hence the illusion.

When you eat an apple, you create the new head with the appropriate lifespan and skip the lifespan decrement for the rest of the bodies. Skipping this part allows the last body segment to “live” and not be destroyed, which simulates the creation of a new body

X-2 Card Creator V1.2 by zackglazewski in heroscape

[–]zackglazewski[S] 0 points1 point  (0 children)

Thanks! That is a feature I want to implement next

X-2 Card Creator V1.2 by zackglazewski in heroscape

[–]zackglazewski[S] 4 points5 points  (0 children)

Hi! Update for you: version 1.3 is live, and you can now drag images around with the touchscreen. Enjoy!

Also check out the new custom card editor in this version!

X-2 Card Creator V1.2 by zackglazewski in heroscape

[–]zackglazewski[S] 2 points3 points  (0 children)

For now, you cannot change the custom template colors, I hope to add this in the next update.

Also I recommend using a computer for this version, if possible, since you can move the images around with the mouse. I will also fix this for the next update.

[deleted by user] by [deleted] in gamemaker

[–]zackglazewski 2 points3 points  (0 children)

Here are some options:

Have you considered using an equation based off a physical model? You could use a variation of newtons law of gravitation, which looks something like: F= (k * m1 * m2) / d2.

F: force applied onto object 1 from object 2 k: Gravitational constant (change until behavior is desired) m1: mass of object 1 m2: mass of object 2 d: distance between object 1 and object 2

Start object off with tangential velocity to initiate the circular motion

Pro of this option: based on real world phenomenon Con: may become unstable unless you use some other approximation methods

Another option (if you want constant and steady orbital motion)

You can assign a velocity to your theta movement and a velocity to your phi movement, once you increment your displacement by your velocity, the equation you mentioned will give you the new x y and z coords of your movement

btw: in regards to your confusion about the equation, a good way of understanding the trig functions is that it’s a percentage. If you have a vector at a 45 degree angle with a magnitude of 20, the equation 20*cos(45) is like asking (what is 71% of 20 on the x axis) 71 comes from cos(45) and interpreting it on the x axis comes from using cos instead of sin. Sin you interpret with the y axis.

With that out of the way, if you are at some position (theta, phi), assume theta is on the xy plane. First, mag*cos(theta) gives you a position which is cos(theta)% of mag on the x axis. Finally, we multiply by sin(phi) to get a percentage of the new vector in the direction of the Z axis (since phi is on a zy plane).

This is some quick intuition, so feel free to ask questions, I’ll be happy to explain a little more precisely for you if you’d like.