Skip to content

Asteroids#531

Closed
IsaacLic wants to merge 7 commits intoMovingBlocks:developfrom
IsaacLic:ECSasteroids
Closed

Asteroids#531
IsaacLic wants to merge 7 commits intoMovingBlocks:developfrom
IsaacLic:ECSasteroids

Conversation

@IsaacLic
Copy link
Contributor

@IsaacLic IsaacLic commented Jul 10, 2020

Description

This is an ECS-based version of asteroids. When the game is started, an asteroid should be created from the prefab near the hero. However, when the game tries to construct an asteroid from the prefab, it crashes with a java.lang.RuntimeException with the message "Prefab core:asteroid not found!".

UPDATE: After moving all of the ECS files (other than force) to core, the prefab creation doesn't crash with the above error. I can't tell whether it's actually creating a proper entity, because I can't set the coordinates of the entity to be on screen without creating a dependency loop (core depending on engine and engine depending on core).

@IsaacLic IsaacLic marked this pull request as draft July 12, 2020 20:48
@IsaacLic IsaacLic closed this Aug 6, 2020
@IsaacLic IsaacLic deleted the ECSasteroids branch October 11, 2021 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant