PIXI Game Update

I added text in the game for status/mode what to do. As well as a score at the end.

I also changed the player selection from a prompt pop up to sprite buttons you can click.

I also added restart.

Making restart work, shows me how many crazy global I have, and how I have to push sprites up and clean them up as well.

I think scaling is the next issue I would like to tackle, then maybe animations and sound.

Posted in Uncategorized | Leave a comment

PIXIJS Board Game Video

The game works.

There are some Alpha filters to show you where you can click.

I need to get scaling to work so the game takes up more of the play.

I would love to show number of players selection not in a prompt but buttons on the screen.

I would also love to show real score.

Game reset after end of game would be nice.

Animations would also be nice.

Then sound and music.

Here are a few versions of the game I found online:

Posted in Uncategorized | Leave a comment

PIXI Game Update

Valid moves marked.

Rules are not enforced yet, but I marked the tiles and changed there display with an Alpha Filter.

I looked at the WII version and the mobile version of the game for some ideas.

Posted in Uncategorized | Leave a comment

PIXI JS board game update

I now have a player showing up on a tile.

I have the game mode selecting the player/origin and destination as well as initial placment.

I have the tiles disappearing when you move off them and players score/tiles scored.

GitHub link: https://github.com/ccarrster/asteroid-ore

Posted in Uncategorized | Leave a comment

PIXI JS first board game

I’m making a clone of Hey, That’s my Fish! (Fantasy Fight Games) in PIXIJS.

https://www.fantasyflightgames.com/en/products/hey-thats-my-fish/

Looks like they have a mobile app already. I’ll have to play it.

https://www.fantasyflightgames.com/en/products/hey-thats-my-fish-digital-device-application/

The game has 60 hex tiles with 3 different values.

You move your characters collecting the tiles you moved off of.

You can only move in a straight line (6 directions)

You can not jump gaps or other plays, but you can go as far as you want.

If you can not move, you remove that player and keep the tile they were on.

Tiles score 1, 2 and 3 points.

The original game has an ice flow penguin theme, mine will be an asteroid ore theme.

So far I have sprites for players and the 3 tiles.

I have a random map being created. I think I’m 1 tile short though.

Here are a few screen shots.

Git link to follow.

Posted in Uncategorized | Leave a comment

Coursera Advanced React Audit

https://www.coursera.org/learn/advanced-react

I finished the Audit.

This course did not let me see the labs or the notes after the labs, so it was guess work on what needed to be done.

I found a video of someone else’s final project to make a portfolio and there are some guidelines on how to grade the portfolio, so I’m working on one.

Covered a little bit of outside topics like CI/CD and testing with Jest.

Covered some techniques on enhancing components with render props or wrapping components and keeping them pure.

Posted in Uncategorized | Leave a comment

First oil change in a while

I used to change my own oil all the time with my first car and motorcycle.

I usually went to my family home, as my father had tools and a driveway where I could work.

Since then I have been renting until recently.

I bought the oil drain pan, oil, filter, funnel and I had gloves.

I also picked up a filter plyers.

I had to go to the dealer for a crush washer for the drain plug.

I opened the hood and oil cap.

I did not jack the car up, I was able to reach the oil drain plug, but it was stuck.

WD40 and a hammer helped get the drain plug loose.

The old crush nut did not want to come off, so I worked it off with some snips.

The filter was on tight and I had to try a few times with the filter plyers to get it off.

New filter on, plug back in, filled it with oil, cap back on. Checked the level, checked for leaks.

Had to look up where to dispose of used oil, and dropped it off.

It’s these little things between renting and owning.

Posted in Uncategorized | Leave a comment

PIXIJS – Guide

I had an interview and they said they used PIXIJS, which I never heard of. I spent the next day going through the docs and guide.

https://pixijs.com/8.x/guides

I ended up editing the code in a sample and submitting a pull request because it was not working.

It is a set of tools to help you work with HTML canvas.

I tried making a game in canvas in the past and found the interaction part would not line up with the components.

Pixi gives you a way to have a tree of components/sprites/graphics and even text. It also has the idea of a timer and you can use the timer to help your animations behave smoothly.

I found the guide helpful, but I would like a little more help getting the sample code working.

In the past I have used guides that had an interactive IDE or running samples you could play with.

I think I’ll make a simple game with PIXI in the near future. I have one involving penguins eating fish and icebergs melting that may work well.

Posted in Uncategorized | Leave a comment

HackerRank React Skill and Role tests again

https://www.hackerrank.com/profile/ccarrster

I passed them both this time.

Last time something went very wrong.

I had an old version of node on my machine… 8 something I think. It was so old, it could not update. Meanwhile the clock on the test was ticking down. The web IDE was not working last time or as well.

This time I accessed the web IDE and preview button as well as fixed my local node and npm setup with modern versions.

I didn’t get the local setup working after pulling… Some errors. But I did get the code locally and on the web IDE.

Any who, passed them both this time.

Bombed on the Node test, going to study up for that one. Node core I studied but express and sequelite I need to dig into more. I’ve used JavaScript for 25 years. There are some Node specific topics and skills I need to sharpen as well as some ES6 features.

Posted in Uncategorized | Leave a comment

Coursera React Basic – Course Audit

I audited the class, passed all the practice tests and did all the labs and the final project (A basic calculator).

I put my labs up on github. I’m going to audit the advanced react course next.

https://www.coursera.org/learn/react-basics

https://github.com/ccarrster/courserareactbasiclabs

Posted in Uncategorized | Leave a comment