Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Chapter 05] KamaKazi Base code
#14
Brian,

I am finally getting back to this and ran into another issue.
In the example code , in the GameObject.h file, there is an enum for Types that define, Bullet, Missle1, Missle2, Alien and so on. However, the there is also an Alien class where there is an Alien.h and Alien.cpp for this Alien class but the Types Alien conflicts with the Alien class name. I ended up renaming the Alien type to kAlien but may look at convert this to an enum class so it is does not conflict.


Also, I have finally been able to get the Alien on screen, but I am doing this from Game.cpp but it seems it may need to be in GroupManager.cpp. Can you verify where you think it would be best to place this?

One other thing, on page 130 under the heading "Da Baddies. it describes the AlienCoords array which I have created. However, later on page 165 there is a reference to EnemyCoords which looks just like AlienCoords. Can you clarify this for me?

Cheers,

Jon
Reply


Messages In This Thread
[Chapter 05] KamaKazi Base code - by jomoengineer - 11-13-2018, 07:57 AM
RE: [Chapter 05] KamaKazi Base code - by jomoengineer - 09-19-2019, 11:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)