SlideShare a Scribd company logo
1 of 24
Download to read offline
‫هيهين‬


        http://a-saker.blogspot.com
        http://e-saker.blogspot.com
‫الوحتوى‬

           ‫• مقدمة في تطوير األلعاب‬

‫• ‪Component-Based Architecture‬‬

               ‫• تطبيق على ‪Unity‬‬
‫التعلين التواسي‬

 ”Tangential Learning”
‫صناعة األلعاب‬



                                          Vs


           $239 million                               $500 million
       First Week Revenue                         First Week Revenue
Source : Video Game Industry Trends by Ferrarra
‫األلعاب‬
‫الوحتوي‬



                   ‫التفاعلية‬



‫الفوز واخلسارة‬       ‫املشاركة‬   ‫القدرة على االختيار‬
Source : Learning To Make Your Own Reality by Jane McGonigal
‫األلعبة‬

Gamification
“And wouldn’t it be
 easier to innovate if
 life were more like a
 game.”
- Dan Newman, public
  strategist
‫+‬          ‫=‬
‫قواعد هنطقية‬       ‫رسوم‬
                              ‫ألعاب‬
ً‫تقنيا‬



Real-time Software
Game Loop
// a simple game loop in C++
int main()
   {
        Initialize();
        while (true)
        {
                 Update();
                 Render();
        }
        ShutDown();
   }
Real-time Loops




                                                               Single-Threaded Fully
    Coupled Approach           Twin-Threaded Approach
                                                                     Decoupled


Source : Core Techniques and Algorithms in Game Programming
                             By Daniel Sánchez-Crespo Dalmau
‫انتاج الرسوم‬
‫انتاج الووسيقى والوؤثرات الصوتية‬
Component-Based Architecture




          !‫هكونات؟‬
OPP
                                     Entity


     Entity
                           Movable            Static

Movable    Static
                               Player             Door

  Player      Door
                              Enemy
  Enemy
                           DynamicDoor
Component-Based Architecture
                                    Player
            Component               • Transform
                                    • Renderer
Transform   Renderer    Mover       • PMover

                                    Enemy
                         PMover
                                    • Transform
                                    • Renderer
                         AIMover    • AIMover

                                    Door
                        DoorMover
                                    • Transform
                                    • Renderer
                                    • DoorMover
‫أفكار لتطبيقها؟!‬
Class Entity
{
     Movable moveSystem;
     boolean canMove;

     public Entity(boolean canMove, Movable moveSystem){
       this.canMove = canMove;
       this.MoveSystem = MoveSystem;
     }
     public Movable getMoveSystem()
     {
       if(canMove)
       return MoveSystem;
         else throw some exception...
     }
..
}
‫إدارة الوكونات‬
public boolean hasComponent(Class<C> klass)
{
  return component_table.Contains( klass );
}
public C getComponent(Class<C> klass)
{
  final C component = component_table.get( klass );
    if ( component != null ) {
       return component;
    } else {
       return null;
    }
}
‫تطبيق على ‪Unity‬‬

More Related Content

Viewers also liked

Sadarah Ab 004.. شبكة العلاقات التسويقية
Sadarah Ab 004.. شبكة العلاقات التسويقيةSadarah Ab 004.. شبكة العلاقات التسويقية
Sadarah Ab 004.. شبكة العلاقات التسويقية
Abdullah Ali
 

Viewers also liked (20)

خلاصة تجربة 30 عامًا في دعوة غير المسلمين (ميدانيًا وإلكترونيًا)
خلاصة تجربة 30 عامًا في دعوة غير المسلمين (ميدانيًا وإلكترونيًا)خلاصة تجربة 30 عامًا في دعوة غير المسلمين (ميدانيًا وإلكترونيًا)
خلاصة تجربة 30 عامًا في دعوة غير المسلمين (ميدانيًا وإلكترونيًا)
 
الإذاعات الدعوية عبر الإنترنت
الإذاعات الدعوية عبر الإنترنتالإذاعات الدعوية عبر الإنترنت
الإذاعات الدعوية عبر الإنترنت
 
صناعة المحتوى الدعوي في ظل التقنية الرقمية المعاصرة
صناعة المحتوى الدعوي في ظل التقنية الرقمية المعاصرةصناعة المحتوى الدعوي في ظل التقنية الرقمية المعاصرة
صناعة المحتوى الدعوي في ظل التقنية الرقمية المعاصرة
 
صوت مسلم ياباني من واقع ميادين الدعوة في اليابان
صوت مسلم ياباني من واقع ميادين الدعوة في اليابانصوت مسلم ياباني من واقع ميادين الدعوة في اليابان
صوت مسلم ياباني من واقع ميادين الدعوة في اليابان
 
منهجية تأهيل وتدريب الدعاة B4
منهجية تأهيل وتدريب الدعاة B4منهجية تأهيل وتدريب الدعاة B4
منهجية تأهيل وتدريب الدعاة B4
 
الموديول الثالث إدراج الوسائط المتعددة والشخصيات الكرتونية
الموديول الثالث إدراج الوسائط المتعددة والشخصيات الكرتونيةالموديول الثالث إدراج الوسائط المتعددة والشخصيات الكرتونية
الموديول الثالث إدراج الوسائط المتعددة والشخصيات الكرتونية
 
العمر الحر
العمر الحرالعمر الحر
العمر الحر
 
ميثاق الاعلام الجديدD1
ميثاق الاعلام الجديدD1ميثاق الاعلام الجديدD1
ميثاق الاعلام الجديدD1
 
ملامح في طريق التعاون التقني بين الجهات الدعوية
ملامح في طريق التعاون التقني بين الجهات الدعويةملامح في طريق التعاون التقني بين الجهات الدعوية
ملامح في طريق التعاون التقني بين الجهات الدعوية
 
المحتوى 1
المحتوى 1المحتوى 1
المحتوى 1
 
عرض المانحات والتقنية اليزيدي D3
عرض المانحات والتقنية اليزيدي D3عرض المانحات والتقنية اليزيدي D3
عرض المانحات والتقنية اليزيدي D3
 
الموديول الثانى : التعامل مع المشاريع والمشاهد والشرايح وشريط الزمن
الموديول الثانى : التعامل مع المشاريع والمشاهد والشرايح وشريط الزمنالموديول الثانى : التعامل مع المشاريع والمشاهد والشرايح وشريط الزمن
الموديول الثانى : التعامل مع المشاريع والمشاهد والشرايح وشريط الزمن
 
(Growth Hacking) في خدمة الدعوة
(Growth Hacking) في خدمة الدعوة(Growth Hacking) في خدمة الدعوة
(Growth Hacking) في خدمة الدعوة
 
صناعة المحتوى الدعوي في ظل التقنية الرقمية المعاصرة
صناعة المحتوى الدعوي في ظل التقنية الرقمية المعاصرةصناعة المحتوى الدعوي في ظل التقنية الرقمية المعاصرة
صناعة المحتوى الدعوي في ظل التقنية الرقمية المعاصرة
 
أفضل أوقات النشر على شبكات التواصل الاجتماعي #انفوجرافيك
أفضل أوقات النشر على شبكات التواصل الاجتماعي #انفوجرافيكأفضل أوقات النشر على شبكات التواصل الاجتماعي #انفوجرافيك
أفضل أوقات النشر على شبكات التواصل الاجتماعي #انفوجرافيك
 
تجربة موقع مزن في نشر المحتوى التقني
تجربة موقع مزن في نشر المحتوى التقنيتجربة موقع مزن في نشر المحتوى التقني
تجربة موقع مزن في نشر المحتوى التقني
 
التنظيم الرسمي الداخلي للإعلام الاجتماعي - الرحمة نموذجاً
التنظيم الرسمي الداخلي للإعلام الاجتماعي - الرحمة نموذجاًالتنظيم الرسمي الداخلي للإعلام الاجتماعي - الرحمة نموذجاً
التنظيم الرسمي الداخلي للإعلام الاجتماعي - الرحمة نموذجاً
 
تغطية تكاليف مشروعك الدعوي أو الخيري عن طريق مواقع التواصل الاجتماعي
تغطية تكاليف مشروعك الدعوي أو الخيري عن طريق مواقع التواصل الاجتماعيتغطية تكاليف مشروعك الدعوي أو الخيري عن طريق مواقع التواصل الاجتماعي
تغطية تكاليف مشروعك الدعوي أو الخيري عن طريق مواقع التواصل الاجتماعي
 
استراتيجية إدارة المحتوى
استراتيجية إدارة المحتوىاستراتيجية إدارة المحتوى
استراتيجية إدارة المحتوى
 
Sadarah Ab 004.. شبكة العلاقات التسويقية
Sadarah Ab 004.. شبكة العلاقات التسويقيةSadarah Ab 004.. شبكة العلاقات التسويقية
Sadarah Ab 004.. شبكة العلاقات التسويقية
 

Similar to ميهين

تطوير التطبيقات التفاعلية باستخدام Unity
تطوير التطبيقات التفاعلية باستخدام Unity تطوير التطبيقات التفاعلية باستخدام Unity
تطوير التطبيقات التفاعلية باستخدام Unity
Ahmed
 
Mono for Game Developers - AltDevConf 2012
Mono for Game Developers - AltDevConf 2012Mono for Game Developers - AltDevConf 2012
Mono for Game Developers - AltDevConf 2012
Xamarin
 
Gentek Introduce(en)
Gentek Introduce(en)Gentek Introduce(en)
Gentek Introduce(en)
cloudmmog
 
Html5game presentation
Html5game presentationHtml5game presentation
Html5game presentation
randyhoyt
 
State-Based Scripting in Uncharted 2: Among Thieves
State-Based Scripting in Uncharted 2: Among ThievesState-Based Scripting in Uncharted 2: Among Thieves
State-Based Scripting in Uncharted 2: Among Thieves
Naughty Dog
 
Game development
Game developmentGame development
Game development
Asido_
 

Similar to ميهين (20)

تطوير التطبيقات التفاعلية باستخدام Unity
تطوير التطبيقات التفاعلية باستخدام Unity تطوير التطبيقات التفاعلية باستخدام Unity
تطوير التطبيقات التفاعلية باستخدام Unity
 
Mono for Game Developers - AltDevConf 2012
Mono for Game Developers - AltDevConf 2012Mono for Game Developers - AltDevConf 2012
Mono for Game Developers - AltDevConf 2012
 
StateScriptingInUncharted2
StateScriptingInUncharted2StateScriptingInUncharted2
StateScriptingInUncharted2
 
Pc54
Pc54Pc54
Pc54
 
God Of War : post mortem
God Of War : post mortemGod Of War : post mortem
God Of War : post mortem
 
Gentek Introduce(en)
Gentek Introduce(en)Gentek Introduce(en)
Gentek Introduce(en)
 
Html5game presentation
Html5game presentationHtml5game presentation
Html5game presentation
 
State-Based Scripting in Uncharted 2: Among Thieves
State-Based Scripting in Uncharted 2: Among ThievesState-Based Scripting in Uncharted 2: Among Thieves
State-Based Scripting in Uncharted 2: Among Thieves
 
Claudia Doppioslash - Time Travel for game development with Elm
Claudia Doppioslash - Time Travel for game development with ElmClaudia Doppioslash - Time Travel for game development with Elm
Claudia Doppioslash - Time Travel for game development with Elm
 
Low Level Graphics & OpenGL
Low Level Graphics & OpenGLLow Level Graphics & OpenGL
Low Level Graphics & OpenGL
 
Gamedev-grade debugging
Gamedev-grade debuggingGamedev-grade debugging
Gamedev-grade debugging
 
Advanced Effects Oscon 2007
Advanced Effects   Oscon 2007Advanced Effects   Oscon 2007
Advanced Effects Oscon 2007
 
Drama Dash
Drama DashDrama Dash
Drama Dash
 
Getting Started with iPhone Game Development
Getting Started with iPhone Game DevelopmentGetting Started with iPhone Game Development
Getting Started with iPhone Game Development
 
Hacking for salone: drone races
Hacking for salone: drone racesHacking for salone: drone races
Hacking for salone: drone races
 
Animation Programming Techniques
Animation Programming TechniquesAnimation Programming Techniques
Animation Programming Techniques
 
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
 
Preparing for Pollock
Preparing for PollockPreparing for Pollock
Preparing for Pollock
 
Jopenmeraverse introduction
Jopenmeraverse introductionJopenmeraverse introduction
Jopenmeraverse introduction
 
Game development
Game developmentGame development
Game development
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 

ميهين