在大型游戏中经常使用分布式,分布式中因为游戏逻辑会经常游戏事务,借助redis特性我们可以实现分布式锁和分布式事务。很多redis集群不支持redis的事务特性。 这个框架用来解决分布式服务器下redis集群事务失效的情况下,基于分布式锁完成分布式事务。支持独占锁,共享锁,读写锁,并且支持事务提交失败情况下的回滚操作,让开发者可以有更多时间侧重游戏逻辑.
-
Updated
Apr 17, 2023 - Java
在大型游戏中经常使用分布式,分布式中因为游戏逻辑会经常游戏事务,借助redis特性我们可以实现分布式锁和分布式事务。很多redis集群不支持redis的事务特性。 这个框架用来解决分布式服务器下redis集群事务失效的情况下,基于分布式锁完成分布式事务。支持独占锁,共享锁,读写锁,并且支持事务提交失败情况下的回滚操作,让开发者可以有更多时间侧重游戏逻辑.
采用Reactor模式,注册readycreate, readyfinish事件到更新服务UpdateService,通过处理后进行模型缓存,然后将消息转化为 dispatchThread消息分配模型需要的create, update, finish的事件进行单线程循环调度 。调度过程使用了系统预置锁模型,来进行多线程唤醒机制,将所有的update循环检测进行多 线程调度,多线程更新服务使用future-listener机制,在完成调度后,根据模型状态,如果模型存活重新将消息转化为update 事件注册到dispatchThread消息分配模型进行循环处理。如果模型死亡将消息转化为readyfinish事件注册到更新服务UpdateServic进行销毁 。这个系统实现了模型自动缓存,多…
Java framework to create games for Playdate console made by Panic Inc.
Butter Engine is a game engine made in LWJGL and uses it's subset libraries for various tasks. What originally started out as a simple rendering library to make the use of LWJGL easier is now becoming a fully fledged engine with easier end user development.
Archived source code for the Java EpicRay raycasting engine.
Coleção de Projetos Luan Freitas baseados na implementação de minha própria Game Engine - AZZAL UI e Estrutura de Dados - Luan ExDATA além de uma vasta coleção de bibliotecas implementadas com finalidades específicas.
Dieses ist eine 2D Java-GameEngine. Diese GameEngine ist für die objektorientierte Programmierung ausgelegt und wird stetig aktuell gehalten. Die Engine enthält die Vorgaben für das Zentralabitur 2019. Für jede dieser Funktionen bietet die Engine aber auch eine eigene Klasse. Alle Fehlernmeldungen, die durch die Engine abgefangen werden könenn i…
For the game made in OpenGL 3.0
A Color Matching android game much like color switch.
This is a TicTacToe App With Engine Build with other features...
Re-learning about video game development with the end goal of simulating and rendering roads typically found in city building games.
A Java 3D Game Engine built from scratch using LWJGL (OpenGL)
A simple game engine for Android mobile games utilizing OpenGL ES 2.0.
Simple game engine called StegadonEngine and made with Java.
🏀 BoucingBall is simple pc game with 5 rounds to break blocks moving by pad. It was built with CityEngine.jar, box2d game engine.
A 2D Game Engine build with Java & lwjgl
This is the source code for Harmony Engine.
Add a description, image, and links to the gameengine topic page so that developers can more easily learn about it.
To associate your repository with the gameengine topic, visit your repo's landing page and select "manage topics."