WordWizard banner

WordWizard

9 devlogs
26h 6m 27s

oh.o.h.o.h.o.h! A wizard hat simulator that creates hilarious magical spells by combining silly words!

Repository

Loading README...

selmaqrini

I finally understand why is C++ so hated by everyone.

Reformated player.hpp, created a base entity to later on add enemies.

For some reason that broke the sprite sheet code so i had to fix that too, i still don’t understand why it didn’t work initialy. I learned how to use a real debugger (Not just testing by printing to terminal) And i spent hours on fixing the problem with the sprite sheet. I learned how to write a little safer code.

This was a great learning experience, i hated it but loved it at the same time, i’m going to speed up the process to finish in time…

2

Comments

jacobjraaff
jacobjraaff 10 days ago

Nooo don’t hate c++

jacobjraaff
jacobjraaff 10 days ago

But I will say it’s not my first choice for a game engine lol

selmaqrini

I finally added a weapon system ! I made it so you can set for each weapon a certain shooting delay, the weapon system is special, you must use your mouse to orient the weapon around the player and then press left click to shoot. For now, the projectiles are simple white circles.

0
selmaqrini

New advancements ! I made a sprite sheet management class that basically retrieves each animation sequence into a list of list of animations sequences. I also cleaned up the code a bit, and changed the way player movement is managed. Finally i made a new system for player directions. I also changed the sprite sheet to another one : https://greenpixels.itch.io/pixel-art-assets-5

Attachment
0
selmaqrini

Finally, the collision system, is close to be finally done ! It took me some time because i tried to make it more complicated than what it really is !
Also started sprinting. It should be working but i don’t understand why, i guess that’s something for next time ! I loved making these changes i learned so much !
Next easy fix : temporarily set the sprite hitbox to a fixed position and size depending on this sprite.
And the collision hitbox (with collide tiles) Should be surrounding the legs only and nothing more !

0
selmaqrini

I added a functional 2d camera, you can explore the map now !

Next -> Adding collisions and actually making something somewhat close to a map.

0
selmaqrini

I finally added map rendering, i was kind of stressed out about using the tmxlite documentation because it seemed complicated and i never used a documentation to implement any type of functionality. Instead i used a class made as a template for SFML projects in the official tmxlite repo. its amazing because it just works and i finally have a map that renders in the background with layers ! Woohooo !

Next step -> Viewport movement and collisions !

0
selmaqrini

I just added classes, my code is much more structured ! I’m still trying to understand how tmx lite works so i can start actually working on maps !

Attachment
0
selmaqrini

Added player movement, with animations and made it so i can modify the speed easily.

Next : levels !

2

Comments

mikesamibg
mikesamibg 2 months ago

I think that look incredible

Hridhaan
Hridhaan 2 months ago

wow

selmaqrini

I just initialized the project, i will start by creating characters, work on their movement and start with some sort of UI.

Attachment
0