Repository navigation
Releases: RekOUF/frightnight
Release list
v3.0 - Demo Mode
Fright Night v3.0 - Demo Mode & Game Over UI
New Features ๐ฎ
โข Demo Mode: After 30 seconds of menu inactivity, the game automatically launches in demo mode
โข AI Controller: Watch the AI explore the 3D world, flee from enemies, and look around cinematically
โข Touch to Exit: Tap anywhere during demo to return to menu
โข Smart Behavior: AI changes direction, runs from threats, and stops to observe surroundings
โข Game Over Screen: Proper game over UI with dark overlay, score display, and exit instructions
Bug Fixes ๐ง
โข Fixed ARM64 native library architecture for Samsung devices (S24 Ultra)
โข Resolved x86_64 vs ARM64 compatibility issues
โข Fixed blue screen on game over - Now shows proper overlay with score and instructions
โข Fixed FlyingBird double-disposal crash
โข Fixed enemy collision null pointer crashes
Technical Details
โข Demo mode uses scary level 5 for exciting showcase
โข AI state machine with EXPLORING, FLEEING, and OBSERVING behaviors
โข Joystick UI hidden during demo for cleaner viewing
โข Timer resets on any touch input
โข Game over UI: SpriteBatch/BitmapFont rendering with semi-transparent overlay
โข Both debug and signed release APKs available
APK Downloads
โข app-release-signed.apk (70MB) - Production-signed release build (recommended)
โข app-debug.apk (86MB) - Debug build with extra symbols
Installation
Download and install the APK on your Android device (Android 5.0+)
Perfect for arcade cabinets or store displays! ๐น๏ธ
v2.9 - Android 14 Samsung Fix ๐ง
Critical Fixes for Samsung S24 Ultra & Android 14
Fixed Issues:
- โ Fixed crash on Samsung S24 Ultra (Android 14) - App now properly requests runtime permissions
- โ Fixed endless update loop - Version checking now working correctly
- โ Added Android 13+ permission support - POST_NOTIFICATIONS and READ_MEDIA_IMAGES
- โ Improved error handling - Game initialization wrapped in try-catch to prevent crashes
- โ Better permission requests - Properly handles modern Android permission system
Technical Changes:
- Updated AndroidManifest permissions for Android 13+
- New
requestRequiredPermissions()method with proper runtime permission handling - Try-catch blocks around DownloadManager and BroadcastReceiver
- Better logging in VersionChecker and GameActivity
- Version checker now properly compares versions
Permissions Now Requested:
- POST_NOTIFICATIONS (Android 13+)
- READ_MEDIA_IMAGES (Android 13+)
- WRITE_EXTERNAL_STORAGE (Android 6-12)
*Fixes app crashes and update prompts on modern Samsung devices
v2.8 - Texture System
๐จ v2.8 - Realistic Texture System
New Features
โ
TextureManager - Centralized texture loading and management
โ
Grass Texture - Realistic grass ground plane (8.6MB texture)
โ
Path Texture - Stone/dirt path with rocks (7.8MB texture)
โ
Proper UV Mapping - Correct texture coordinates for 3D models
โ
Texture Wrapping - Seamless tiled textures
โ
Texture Filtering - Linear filtering for smooth appearance
๐ฅ Download
Install this file: app-debug.apk (87MB) โฌ
๏ธ *Use this one
app-release-unsigned.apk (unsigned, won't install)
Technical Details
- Ground plane: 300x300 units with grass.png texture
- Forest path: Uses rockandpad.png with UV coordinates
- Textures loaded from assets folder
- Automatic texture disposal on cleanup
- versionCode: 13
- versionName: 2.8
Assets Included
- grass.png (8.6MB) - Vibrant green grass
- rockandpad.png (7.8MB) - Stone and dirt path texture
- rock.png (7.8MB) - Additional rock texture
Compatibility
- Min SDK: 21 (Android 5.0+)
- Target SDK: 34 (Android 14)
- LibGDX: 1.12.1
- APK Size: 87MB (debug), 71MB (unsigned release)
Download app-debug.apk and install to see the realistic textured world! ๐ฟ๐ชจ
v2.4 - Custom App Icon
Nieuwe App Icon! ๐
โ
Je custom gameicon.png is nu de app icon
โ
Zichtbaar op home screen en app drawer
โ
Alle resoluties ondersteund (mdpi tot xxxhdpi)
Technical:
- versionCode: 11
- versionName: 2.4
- Icon geรฏnstalleerd in alle mipmap directories
Download en installeer - je zult je eigen icon op het home screen zien! ๐ฎ
v2.3 - Debug & Stability
Crash Debug Release
Als het nog crasht, check logcat:
adb logcat | grep FrightNightFixes:
โ
Extensive debug logging (elke stap gelogd)
โ
Bullet Physics VERWIJDERD (~3MB kleiner)
โ
minSdk 21 (meer devices)
โ
Try-catch everywhere
โ
Null safety in render loop
โ
APK: ~12MB (was 15MB)
Je zult nu kunnen zien waar precies het crasht!
See CHANGELOG_v2.3.md voor details.
v2.2 - Model Loading Optimization
Critical Fix: Models worden nu gecached en hergebruikt (4 models ipv 150+). Dit lost crashes op low-end devices op.
Main Fix:
- โ Model creation: 4 cached models hergebruikt met instances
- โ Memory: ~85% minder memory usage
- โ Performance: ~90% sneller laden
- โ Trees: Reduced 35โ20, Fence: 80โ48 posts
See CHANGELOG_v2.2.md voor details.
v2.1 - Startup Crash Fix ๐ง
v2.1 - Startup Crash Fix ๐ง
๐ Critical Fix
v2.0 had een crash bij het starten van de 3D game. *Dit is nu opgelost
โ Fixes in v2.1
Crash Oorzaak
De 3D LibGDX engine had niet de juiste OpenGL configuratie en er waren race conditions tussen initialisatie en input handling.
Oplossingen
-
OpenGL ES 2.0 Support โ
<uses-feature android:glEsVersion="0x00020000">toegevoegd- Verplicht voor LibGDX 3D rendering
- Werkt op alle moderne Android devices
-
Hardware Acceleration โ
android:hardwareAccelerated="true"- Betere 3D performance
- Smooth rendering
-
GameActivity Configuration โ
- Fullscreen theme (no title bar)
- ConfigChanges voor orientation/screenSize
- Voorkomt activity restarts bij rotatie
-
Null Safety โ
- Null checks in alle render methods
- Safe handling van UI components (joystick, buttons)
- Race condition fixes
-
Depth Test Management โ
- GL_DEPTH_TEST enabled voor 3D scene
- GL_DEPTH_TEST disabled voor 2D UI overlay
- Correct z-ordering
-
Resource Cleanup โ
- Safe dispose() met null checks
- Proper ModelBatch cleanup
- Memory leak prevention
๐ฎ Wat Werkt Nu
De volledige 3D horror RPG zoals bedoeld in v2.0:
- โ 3D first-person camera
- โ 35+ dark trees in night forest
- โ Moonlight atmospheric lighting
- โ Touch joystick controls
- โ Camera rotation buttons
- โ Sprint button (RUN)
- โ 200x200m world met fence boundary
- โ Splash screen + auto-update
- โ Main menu met scary level selector
- โ Portrait mode
๐ฅ Installatie
Als je v2.0 hebt: De app detecteert automatisch v2.1 en biedt update aan!
Nieuwe installatie:
- Download app-debug.apk (15MB)
- Installeer
- Kies scary level
- PLAY โ 3D wereld laadt zonder crash!
๐น๏ธ Controls Reminder
- Joystick (links): Beweeg in alle richtingen
- < > buttons: Roteer camera links/rechts
- RUN button (groen): Sprint (2x snelheid)
๐ฅ v2.0 โ v2.1
De 3D game is nu stabiel en werkt! Geen crashes meer bij startup. Je kunt nu vrij door het donkere bos lopen met smooth controls.
*Ready to explore the horror forest ๐ฒ๐๐
v2.0 - 3D HORROR RPG UPGRADE! ๐ฎ๐ฅ๐
v2.0 - COMPLETE 3D HORROR RPG TRANSFORMATION! ๐ฎ๐ฅ
๐ MAJOR UPGRADE: 2D โ 3D
Dit is een complete rebuild van het spel! Van 2D top-down naar een echte 3D first-person/third-person horror RPG!
๐ฎ 3D Game Engine - LibGDX
De game draait nu op LibGDX, een professionele 3D game engine:
- โ Volledige 3D rendering met PerspectiveCamera
- โ 3D physics ready (Bullet physics geรฏntegreerd)
- โ ModelBatch rendering voor alle 3D models
- โ Environment lighting met ambient + directional lights
๐ท Dual Camera System
Switchable camera modes (ready voor toekomstige toggle):
-
First Person ๐๏ธ
- Camera op ooghoogte (1.7m)
- Kijk door de ogen van de speler
- Immersive horror experience
-
Third Person ๐ฌ
- Camera 5m achter speler, 3m hoog
- Overzicht van omgeving
- Zie je character bewegen
๐ 3D Night Scene
Volledige 3D horror omgeving:
- ๐ Dark night sky (#040412) - zeer donker
- ๐ Moonlight - blueish directional light van boven
- ๐ณ 35+ horror trees - 3D cilinder stammen + sphere bladeren, donkergroen
- ๐ข Ground plane - 200x200 meter donker gras veld
- ๐ง Fence boundary - 80 fence posts langs de rand
- ๐ซ๏ธ Atmospheric lighting - ambient 0.1 voor nacht sfeer
World Size: 170x170m speelgebied (-85 tot +85 in X en Z)
๐น๏ธ Touch Controls
Professionele touch controls voor mobiel:
Movement Joystick
- ๐ Positie: Linksonder
- ๐ฏ Functie: 360ยฐ movement control
- ๐ด Visual: Transparante circle met rode thumb
- โก Response: Real-time directional movement
Camera Rotation
- โฌ ๏ธ < button: Roteer camera links
- โก๏ธ > button: Roteer camera rechts
- ๐ Smooth rotation: 3ยฐ per tap
Sprint Button
- ๐ข RUN button: Rechtsonder, groen
- ๐ Effect: 2x snelheid (10m/s ipv 5m/s)
- ๐ Hold to sprint: Continue running
๐ค Player System
Realistische player met fysica:
- ๐ Height: 1.7m ooghogte (realistic human)
- ๐ฏ Speed: 5m/s wandelen, 10m/s rennen
- ๐งญ Direction: Yaw rotation (360ยฐ draaibaar)
- ๐ง Boundaries: World clamp binnen fence
- ๐ฏ Score: 10 punten/seconde in scary mode
Ready for:
- ๐ซฅ Hiding mechanics (structuur aanwezig)
- ๐ป Enemy encounters
- ๐ฏ Collectibles
- ๐ Achievements
โ Behouden Features
Alle bestaande functionaliteit blijft werken:
App Infrastructuur
- โก SplashActivity: Thunder sound + auto-update check
- ๐ MainActivity: Scary level selector (0-10) met lightning background
- ๐จ LightningBackgroundView: Animated menu background
- ๐ฑ Portrait mode: Optimaal voor mobiel
- ๐พ SharedPreferences: High scores + settings
Auto-Update Systeem
- ๐ Version check: Bij splash screen
- ๐ฆ Download manager: One-click APK download
- ๐ Permissions: Storage + install handled
- ๐ GitHub releases: Auto-detect nieuwe versies
๐ฆ Technical Details
LibGDX Integration
LibGDX 1.12.1:
- gdx-core (game engine)
- gdx-backend-android (Android adapter)
- gdx-bullet (3D physics)
Native Libraries
APK bevat natives voor alle Android architectures:
- โ armeabi-v7a (32-bit ARM)
- โ arm64-v8a (64-bit ARM)
- โ x86 (32-bit Intel)
- โ x86_64 (64-bit Intel)
File Changes
- GameActivity: AppCompatActivity โ AndroidApplication
- GameView (2D): Vervangen door FrightNightGame3D
- New: TouchJoystick, CameraController, GameInputProcessor
- APK size: 13MB โ 15MB (+2MB voor 3D engine)
๐ฏ What's Next?
De basis 3D horror RPG staat! Ready voor:
- ๐ป 3D Enemies: Met AI pathfinding
- ๐ฑ Jump scares: Based on scary level
- ๐ 3D Audio: Positional sound effects
- ๐ Hiding spots: Achter bomen/behind objects
- ๐ฉ๏ธ Lightning effects: 3D flashes in sky
- ๐ญ Dynamic events: Gebaseerd op scary level 0-10
๐ฅ Installatie
- Download app-debug.apk hieronder (15MB)
- Installeer (storage permissions allowen)
- Start game en kies scary level
- PLAY โ Je zit nu in een 3D horror wereld!
Controls:
- ๐น๏ธ Joystick links: Beweeg in alle richtingen
- โฌ ๏ธโก๏ธ Rotation buttons: Draai camera
- ๐ข RUN: Sprint (2x sneller)
๐ฅ Van 2D naar 3D Horror!
Dit is de grootste update tot nu toe! Het spel is getransformeerd van een simpele 2D survival game naar een volwaardige 3D first-person horror RPG.
De atmosfeer, immersion en gameplay mogelijkheden zijn nu oneindig veel groter. Dit is pas het begin! ๐
Enjoy exploring the 3D night forest... if you dare. ๐๐ฒ๐
v1.5 - Game Crash Fix + Looping Thunder ๐โก
v1.5 - Game Crash Fix + Looping Thunder ๐โก
๐ Kritieke Fixes
Deze versie lost twee belangrijke problemen op:
1. Game Crash bij Start
Probleem: App crashte soms bij het starten van het spel (Play button)
- Oorzaak: Race condition tussen game thread en initialisatie
- Landscape/Camera objecten waren nog null wanneer game loop al probeerde te tekenen
Oplossing โ
- Null checks toegevoegd in
update()endraw()methods - Game thread wacht nu netjes tot alles geรฏnitialiseerd is
- Geen crashes meer bij game start!
2. Thunder Geluid Looping in Menu
Probleem: Thunder speelde maar รฉรฉn keer en stopte
Verzoek: Thunder moet continu blijven spelen in hoofdmenu
Oplossing โ
- Thunder loopt nu continu in hoofdmenu (volume 0.5 - zachter dan splash)
- Gebruikt
MediaPlayer.setLooping(true)voor seamless loop - Thunder blijft spelen bij terugkeer naar menu vanuit game
- Automatisch cleanup bij app sluiten
๐ฎ Technische Details
GameView.java:
// Null checks voorkomen crashes
if (isGameOver || landscape == null) return;
if (surfaceHolder.getSurface().isValid() && landscape != null && camera != null)MainActivity.java:
// Looping thunder
thunderPlayer.setLooping(true);
thunderPlayer.setVolume(0.5f, 0.5f); // softer in menu๐ Wat blijft hetzelfde
- Portrait mode โ
- Night scene met maan en wolken โ
- Lightning effects "FRIGHT"/"NIGHT" โ
- Lightning crack sounds โ
- Menu lightning background โ
- Auto-update functionaliteit โ
- All scary levels (0-10) โ
๐ฅ Installatie
Download de APK hieronder. Bestaande gebruikers krijgen automatisch update notificatie!
v1.4 - Android 12+ Crash Fix ๐ง
v1.4 - Android 12+ Crash Fix ๐ง
๐ Crash Fix
Deze versie lost een kritieke crash op bij het starten van de app op Android 12 en nieuwer (API level 31+).
Probleem
- App crashte tijdens splash screen op Android 12+
BroadcastReceiverregistratie miste verplichteRECEIVER_NOT_EXPORTEDflag- Dit voorkomt dat de app kon opstarten op nieuwere Android versies
Oplossing
โ
BroadcastReceiver nu correct geregistreerd met proper flags
โ
Android 12+ (API 31+): gebruikt RECEIVER_NOT_EXPORTED
โ
Oudere versies: blijft backwards compatible
โ
Alle orientatie instellingen blijven portrait mode
๐ฑ Portrait Mode
Alle activities (SplashActivity, MainActivity, GameActivity) zijn en blijven in portrait mode zoals gewenst.
๐ Wat blijft hetzelfde
- Night scene met maan en donkere wolken โ
- Lightning effects met "FRIGHT" / "NIGHT" text โ
- LUIDE thunder geluiden โ
- Lightning crack sounds โ
- Menu lightning background โ
- Auto-update functionaliteit โ
๐ฅ Installatie
Download de APK hieronder en installeer. Bestaande installaties worden automatisch genotificeerd van deze update.