Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ tools
res
resources/*.png
crates/blue_engine_core/Cargo.lock
**dev**
125 changes: 18 additions & 107 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "blue_engine"
version = "0.6.5"
version = "0.7.0"
authors = ["Elham Aryanpur <elhamaryanpur5@gmail.com>"]
edition = "2024"
description = "General-Purpose, Easy-to-use, Fast, and Portable graphics engine"
documentation = "https://aryanpurtech.github.io/BlueEngineDocs/"
documentation = "https://docs.rs/blue_engine"
repository = "https://github.com/AryanpurTech/BlueEngine"
keywords = ["gamedev", "graphics", "3D", "2D", "rendering"]
categories = ["game-development", "gui", "graphics", "rendering"]
Expand All @@ -15,7 +15,7 @@ exclude = ["/examples", "/resources"]
name = "blue_engine"

[features]
default = ["debug", "u16", "dep:blue_engine_core"]
default = ["debug", "dep:blue_engine_core"]
# Use the default engine
dynamic_link = ["dep:blue_engine_dynamic"]

Expand All @@ -29,18 +29,16 @@ android_game_activity = [
"blue_engine_core?/android_game_activity",
"blue_engine_dynamic?/android_game_activity",
]
# using u16 for indices and others
u16 = ["blue_engine_core?/u16", "blue_engine_dynamic?/u16"]
# using u32 for indices and others
u32 = ["blue_engine_core?/u32", "blue_engine_dynamic?/u32"]

[dependencies]
blue_engine_core = { version = "0.6.5", optional = true }
blue_engine_core = { version = "0.7.0", optional = true }
# blue_engine_core = { path = "crates/blue_engine_core", optional = true }

# Wasm does not support dynamic linking.
[target.'cfg(not(target_family = "wasm"))'.dependencies]
blue_engine_dynamic = { version = "0.6.5", optional = true }
blue_engine_dynamic = { version = "0.7.0", optional = true }
# blue_engine_dynamic = { path = "crates/blue_engine_dynamic", optional = true }

# ========== EXAMPLES ========== #
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Hello World:

```rust
use blue_engine::{
header::{ Engine, ObjectSettings },
prelude::{ Engine, ObjectSettings },
primitive_shapes::triangle
};

Expand All @@ -33,12 +33,12 @@ fn main() {
}
```

* [WIP] [Guide](https://aryanpurtech.github.io/BlueEngineDocs/)
- [WIP] [Guide](https://aryanpurtech.github.io/BlueEngineDocs/)

* Check out the [examples](https://github.com/AryanpurTech/BlueEngine/tree/master/examples) folder to get a sense of how things are done
- Check out the [examples](https://github.com/AryanpurTech/BlueEngine/tree/master/examples) folder to get a sense of how things are done

* Check out the [utilities library](https://github.com/AryanpurTech/BlueEngineUtilities) for extra functionality with the engine
- Check out the [utilities library](https://github.com/AryanpurTech/BlueEngineUtilities) for extra functionality with the engine

*the credits to the image on top: NotPB*
_the credits to the image on top: NotPB_

*the development might seem slow sometimes, its due to multiple repositories being handled and due to my education taking a large chunk of my time. The project isn't dead, just slow.*
_the development might seem slow sometimes, its due to multiple repositories being handled and due to my education taking a large chunk of my time. The project isn't dead, just slow._
22 changes: 11 additions & 11 deletions crates/blue_engine_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blue_engine_core"
version = "0.6.5"
version = "0.7.0"
authors = ["Elham Aryanpur <elhamaryanpur5@gmail.com>"]
edition = "2024"
description = "USE blue_engine THIS IS FOR INTERNAL USE"
Expand All @@ -10,30 +10,30 @@ license = "Apache-2.0"
name = "blue_engine_core"

[features]
default = ["debug", "u16"]
default = ["debug"]
debug = ["dep:env_logger"]
android = ["dep:log", "dep:android_logger"]
android_native_activity = ["winit/android-native-activity"]
android_game_activity = ["winit/android-game-activity"]
# using u16 for indices and others
u16 = []
# using u32 for indices and others
u32 = []

glam_fast_math = ["glam/fast-math"]

[dependencies]
image = { version = "0.25.2" }
winit = { version = "0.30", features = ["rwh_06"] }
wgpu = { version = "24.0.3" }
image = { version = "0.25" }
pollster = "0.4"
winit = { version = "0.30.5", features = ["rwh_06"] }
wgpu = { version = "24.0.1" }
bytemuck = { version = "1.16", features = ["derive"] }
downcast = "0.11"
nalgebra-glm = "0.19"
# debug logs
thiserror = "2.0"
env_logger = { version = "0.11", optional = true }
glam = { version = "0.30.1", features = ["bytemuck", "serde"] }

# android
log = { version = "0.4", optional = true }
android_logger = { version = "0.15.0", optional = true }
thiserror = "2.0.9"

[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "24.0.1", features = ["webgl"] }
wgpu = { version = "24.0.3", features = ["webgl"] }
Loading
Loading